mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 10:05:53 +02:00
set public next env vars from config
This commit is contained in:
parent
cf1de2253b
commit
61fca6a1f6
7 changed files with 69 additions and 33 deletions
|
@ -37,7 +37,10 @@ export function buildTraefikConfig(
|
|||
[middlewareName]: {
|
||||
plugin: {
|
||||
[middlewareName]: {
|
||||
apiBaseUrl: config.app.internal_base_url,
|
||||
apiBaseUrl: new URL(
|
||||
"/api/v1",
|
||||
`http://${config.server.internal_hostname}:${config.server.internal_port}`,
|
||||
).href,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue