use fullDomain from resources in get traefik config

This commit is contained in:
Milo Schwartz 2024-10-26 19:57:47 -04:00
parent 92ae69ae29
commit 9320f99920
No known key found for this signature in database
5 changed files with 143 additions and 136 deletions

View file

@ -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);