Update access log configuration to enforce boolean type

252ae9f5340e29c4c642806ba2dc9758e5d080c7

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
src/middleware/accessLogWriter.js+1 -1
@@ -3,7 +3,7 @@ import fs from 'node:fs';
3import { getRealIpFromHeader } from '../express-common.js';3import { getRealIpFromHeader } from '../express-common.js';
4import { color, getConfigValue } from '../util.js';4import { color, getConfigValue } from '../util.js';
55
6const enableAccessLog = getConfigValue('logging.enableAccessLog', true);6const enableAccessLog = getConfigValue('logging.enableAccessLog', true, 'boolean');
77
8const knownIPs = new Set();8const knownIPs = new Set();
99