mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-10 10:32:09 +08:00
Enhancement: more reliable wg-easy widget by custom proxy, use password header (#3966)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user