mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-04 18:14:53 +02:00
use fullDomain from resources in get traefik config
This commit is contained in:
parent
92ae69ae29
commit
9320f99920
5 changed files with 143 additions and 136 deletions
|
@ -47,9 +47,7 @@ app.prepare().then(() => {
|
|||
}
|
||||
|
||||
const prefix = `/api/v1`;
|
||||
if (dev) {
|
||||
externalServer.use(logIncomingMiddleware);
|
||||
}
|
||||
externalServer.use(logIncomingMiddleware);
|
||||
externalServer.use(prefix, unauthenticated);
|
||||
externalServer.use(prefix, authenticated);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue