Update access log configuration to enforce boolean type
| @@ -3,7 +3,7 @@ import fs from 'node:fs'; | |||
| 3 | import { getRealIpFromHeader } from '../express-common.js'; | 3 | import { getRealIpFromHeader } from '../express-common.js'; |
| 4 | import { color, getConfigValue } from '../util.js'; | 4 | import { color, getConfigValue } from '../util.js'; |
| 5 | 5 | ||
| 6 | const enableAccessLog = getConfigValue('logging.enableAccessLog', true); | 6 | const enableAccessLog = getConfigValue('logging.enableAccessLog', true, 'boolean'); |
| 7 | 7 | ||
| 8 | const knownIPs = new Set(); | 8 | const knownIPs = new Set(); |
| 9 | 9 | ||