Add maintence page support for remote nodes

This commit is contained in:
Owen
2026-06-13 21:45:52 -07:00
parent c6ddd5c402
commit 50da863bb7
4 changed files with 12 additions and 16 deletions

View File

@@ -277,7 +277,7 @@ hybridRouter.get(
);
}
const browserGatewayUiUrl = config.getRawConfig().app.dashboard_url; // points to the dashboard to serve from there
const pangolinUIUrl = config.getRawConfig().app.dashboard_url; // points to the dashboard to serve from there
try {
const traefikConfig = await getTraefikConfig(
@@ -286,8 +286,8 @@ hybridRouter.get(
true, // But don't allow domain namespace resources
false, // Dont include login pages,
true, // allow raw resources
false, // dont generate maintenance page
browserGatewayUiUrl // generate browser gateway targets
pangolinUIUrl, // dont generate maintenance page
pangolinUIUrl // generate browser gateway targets
);
return response(res, {