Update src/widgets/wgeasy/proxy.js

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
pull/3476/head
Conner Hnatiuk 4 weeks ago committed by GitHub
parent c30fa0d81c
commit 2ae0105d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -56,7 +56,6 @@ export default async function wgeasyProxyHandler(req, res) {
const [, , data, ] = await httpProxy(
formatApiCall(widgets[widget.type].api, { ...widget, endpoint: "wireguard/client" }),
{
method: "GET",
headers: {
"Content-Type": "application/json",
Cookie: `connect.sid=${sid}`,

Loading…
Cancel
Save