mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-13 18:40:11 +01:00
Update access log configuration to enforce boolean type
This commit is contained in:
parent
a73dfa7586
commit
252ae9f534
@ -3,7 +3,7 @@ import fs from 'node:fs';
|
||||
import { getRealIpFromHeader } from '../express-common.js';
|
||||
import { color, getConfigValue } from '../util.js';
|
||||
|
||||
const enableAccessLog = getConfigValue('logging.enableAccessLog', true);
|
||||
const enableAccessLog = getConfigValue('logging.enableAccessLog', true, 'boolean');
|
||||
|
||||
const knownIPs = new Set();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user