From 2ff147b0d6d0c45fde192cb9ae5fa6fec836dd06 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Tue, 9 Apr 2024 12:19:48 +0200 Subject: [PATCH] app-backend: log when running in protected mode Signed-off-by: Patrik Oldsberg --- plugins/app-backend/src/service/router.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/app-backend/src/service/router.ts b/plugins/app-backend/src/service/router.ts index dc51499d74..ce94720a9a 100644 --- a/plugins/app-backend/src/service/router.ts +++ b/plugins/app-backend/src/service/router.ts @@ -171,6 +171,10 @@ export async function createRouter( (await fs.pathExists(publicDistDir)) && auth && httpAuth; if (enablePublicEntryPoint && auth && httpAuth) { + logger.info( + `App is running in protected mode, serving public content from ${publicDistDir}`, + ); + const publicRouter = Router(); publicRouter.use(async (req, _res, next) => {