1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-21 01:22:08 +02:00

remove logs

This commit is contained in:
Patrik J. Braun 2024-04-15 21:05:06 +02:00
parent 5222795ddc
commit e77fd910c2
2 changed files with 1 additions and 6 deletions

View File

@ -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 \

View File

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