feat(config)!: unsafe domain toggle (#11588)

This commit is contained in:
Tony
2023-01-10 11:45:05 +00:00
committed by GitHub
parent ab2f61824d
commit a66cbcf6ee
66 changed files with 338 additions and 15 deletions

View File

@@ -97,6 +97,7 @@ const calculateValue = () => {
feature: {
allow_user_hotlink_template: envs.ALLOW_USER_HOTLINK_TEMPLATE === 'true',
filter_regex_engine: envs.FILTER_REGEX_ENGINE || 're2',
allow_user_supply_unsafe_domain: envs.ALLOW_USER_SUPPLY_UNSAFE_DOMAIN === 'true',
},
suffix: envs.SUFFIX,
titleLengthLimit: parseInt(envs.TITLE_LENGTH_LIMIT) || 150,