Update src/widgets/wgeasy/proxy.js
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
c30fa0d81c
commit
2ae0105d52
@ -56,7 +56,6 @@ export default async function wgeasyProxyHandler(req, res) {
|
|||||||
const [, , data, ] = await httpProxy(
|
const [, , data, ] = await httpProxy(
|
||||||
formatApiCall(widgets[widget.type].api, { ...widget, endpoint: "wireguard/client" }),
|
formatApiCall(widgets[widget.type].api, { ...widget, endpoint: "wireguard/client" }),
|
||||||
{
|
{
|
||||||
method: "GET",
|
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
Cookie: `connect.sid=${sid}`,
|
Cookie: `connect.sid=${sid}`,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user