fix(basic.gblib): Databases. #392 @othonlima.

This commit is contained in:
Rodrigo Rodriguez 2023-11-29 20:31:12 -03:00
parent 0897210df8
commit 94b294d388
2 changed files with 2 additions and 2 deletions

View file

@ -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'
}
}

View file

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