mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-12 03:52:18 +08:00
18 lines
318 B
JavaScript
18 lines
318 B
JavaScript
import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
|
|
|
|
const widget = {
|
|
api: "{url}/api/{endpoint}",
|
|
proxyHandler: credentialedProxyHandler,
|
|
|
|
mappings: {
|
|
client: {
|
|
endpoint: "wireguard/client",
|
|
},
|
|
clientv2: {
|
|
endpoint: "client",
|
|
},
|
|
},
|
|
};
|
|
|
|
export default widget;
|