Update src/widgets/wgeasy/proxy.js

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Conner Hnatiuk 2024-05-16 22:57:40 -06:00 committed by GitHub
parent c30fa0d81c
commit 2ae0105d52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}`,