From e77fd910c20a3ba8a35af9bb90b6635873d186d4 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Mon, 15 Apr 2024 21:05:06 +0200 Subject: [PATCH] remove logs --- docker/alpine/Dockerfile.build | 2 +- src/common/config/private/Config.ts | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docker/alpine/Dockerfile.build b/docker/alpine/Dockerfile.build index 76186153..42e0947f 100644 --- a/docker/alpine/Dockerfile.build +++ b/docker/alpine/Dockerfile.build @@ -16,7 +16,7 @@ RUN mkdir -p /app/data/config && \ #----------------------------------------- FROM node:18-alpine3.17 AS main WORKDIR /app -ENV NODE_ENV=debug \ +ENV NODE_ENV=production \ # overrides only the default value of the settings (the actualy value can be overwritten through config.json) default-Database-dbFolder=/app/data/db \ default-Media-folder=/app/data/images \ diff --git a/src/common/config/private/Config.ts b/src/common/config/private/Config.ts index b568e1f0..7a14e5c0 100644 --- a/src/common/config/private/Config.ts +++ b/src/common/config/private/Config.ts @@ -12,9 +12,4 @@ try { } ExtensionConfigTemplateLoader.Instance.init(path.join(__dirname, '/../../../../', pre.Extensions.folder)); -console.log(process.env['default-Media-tempFolder']); -console.log(ConfigClassBuilder.attachPrivateInterface(pre.Media).__defaults.tempFolder); - export const Config = ExtensionConfigWrapper.originalSync(true); - -console.log(ConfigClassBuilder.attachPrivateInterface(Config.Media).__defaults.tempFolder);