Enhancement: more reliable wg-easy widget by custom proxy, use password header (#3966)

This commit is contained in:
shamoon
2024-09-09 11:40:11 -07:00
committed by GitHub
parent 133d2d6e02
commit 2d0beabe9a
4 changed files with 13 additions and 90 deletions

View File

@@ -1,8 +1,14 @@
import wgeasyProxyHandler from "./proxy";
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
const widget = {
api: "{url}/api/{endpoint}",
proxyHandler: wgeasyProxyHandler,
proxyHandler: credentialedProxyHandler,
mappings: {
client: {
endpoint: "wireguard/client",
},
},
};
export default widget;