diff --git a/src/backend/middlewares/RenderingMWs.ts b/src/backend/middlewares/RenderingMWs.ts index f4022dab..41b270b8 100644 --- a/src/backend/middlewares/RenderingMWs.ts +++ b/src/backend/middlewares/RenderingMWs.ts @@ -117,6 +117,7 @@ export class RenderingMWs { skipTags: {secret: true} as TAGS }) as PrivateConfigClass)); + console.log(originalConfJSON); const message = new Message( null, originalConfJSON diff --git a/test/backend/integration/routers/admin/SettingsRouter.ts b/test/backend/integration/routers/admin/SettingsRouter.ts index 34c1f9f4..8519f514 100644 --- a/test/backend/integration/routers/admin/SettingsRouter.ts +++ b/test/backend/integration/routers/admin/SettingsRouter.ts @@ -22,7 +22,7 @@ describe('SettingsRouter', () => { await fs.promises.rm(TestHelper.TMP_DIR, {recursive: true, force: true}); Config.Database.type = DatabaseType.sqlite; Config.Database.dbFolder = TestHelper.TMP_DIR; - Config.Extensions.enabled = false; + Config.Extensions.folder = 'notexisting'; ProjectPath.reset(); server = new Server(false); @@ -48,6 +48,7 @@ describe('SettingsRouter', () => { attachVolatile: true, skipTags: {secret: true} as TAGS }))); + console.log(originalJSON); const result = await chai.request(server.Server) .get(Config.Server.apiPath + '/settings');