mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-08 03:36:37 +00:00
use fullDomain from resources in get traefik config
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user