mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Set default for whitelistDockerHosts to true
This commit is contained in:
@@ -11,7 +11,7 @@ import { color, getConfigValue, safeReadFileSync } from '../util.js';
|
||||
|
||||
const whitelistPath = path.join(process.cwd(), './whitelist.txt');
|
||||
const enableForwardedWhitelist = !!getConfigValue('enableForwardedWhitelist', false, 'boolean');
|
||||
const whitelistDockerHosts = !!getConfigValue('whitelistDockerHosts', false, 'boolean');
|
||||
const whitelistDockerHosts = !!getConfigValue('whitelistDockerHosts', true, 'boolean');
|
||||
/** @type {string[]} */
|
||||
let whitelist = getConfigValue('whitelist', []);
|
||||
|
||||
|
Reference in New Issue
Block a user