diff --git a/packages/basic.gblib/services/SystemKeywords.ts b/packages/basic.gblib/services/SystemKeywords.ts index 142b8f86..ed084da3 100644 --- a/packages/basic.gblib/services/SystemKeywords.ts +++ b/packages/basic.gblib/services/SystemKeywords.ts @@ -1615,7 +1615,7 @@ export class SystemKeywords { function process(key, value, o) { if (value === '0000-00-00') { - o[key] = '01-01-1970' + o[key] = '01-01-1970 00:00:00.000' } } diff --git a/src/app.ts b/src/app.ts index 1ff7b7da..3d6474d2 100644 --- a/src/app.ts +++ b/src/app.ts @@ -258,7 +258,7 @@ export class GBServer { server.get('*', async (req, res, next) => { if (req.originalUrl.startsWith('/logs')) { - if (process.env.ENABLE_WEBLOG) { + if (process.env.ENABLE_WEBLOG === "true") { const admins = { admin: { password: process.env.ADMIN_PASS } };