mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-03 03:00:58 +02:00
first pass of traefik -> basic gateway
This commit is contained in:
@@ -351,6 +351,7 @@ hybridRouter.get(
|
||||
}
|
||||
|
||||
const pangolinUIUrl = config.getRawConfig().app.dashboard_url; // points to the dashboard to serve from there
|
||||
const aiGatewayUrl = `${config.getRawConfig().app.dashboard_url}/api/v1/ai-gateway`;
|
||||
|
||||
try {
|
||||
const traefikConfig = await getTraefikConfig(
|
||||
@@ -360,7 +361,8 @@ hybridRouter.get(
|
||||
false, // Dont include login pages,
|
||||
true, // allow raw resources
|
||||
pangolinUIUrl, // dont generate maintenance page
|
||||
pangolinUIUrl // generate browser gateway targets
|
||||
pangolinUIUrl, // generate browser gateway targets
|
||||
aiGatewayUrl
|
||||
);
|
||||
|
||||
return response(res, {
|
||||
|
||||
Reference in New Issue
Block a user