fix(basic.gblib): Databases. #392 @othonlima.
This commit is contained in:
parent
0897210df8
commit
94b294d388
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue