fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 94b294d388 - Show all commits

View file

@ -1615,7 +1615,7 @@ export class SystemKeywords {
function process(key, value, o) { function process(key, value, o) {
if (value === '0000-00-00') { 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) => { server.get('*', async (req, res, next) => {
if (req.originalUrl.startsWith('/logs')) { if (req.originalUrl.startsWith('/logs')) {
if (process.env.ENABLE_WEBLOG) { if (process.env.ENABLE_WEBLOG === "true") {
const admins = { const admins = {
admin: { password: process.env.ADMIN_PASS } admin: { password: process.env.ADMIN_PASS }
}; };