Allow to enable the whitelist without modifying the whitelist file (#937)

This commit is contained in:
Pascal Sthamer
2021-06-27 15:12:51 +02:00
committed by GitHub
parent 33c2154a98
commit 9d231801da
2 changed files with 4 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ function setServerProp {
}
function customizeServerProps {
if [ -n "$WHITELIST" ]; then
if [ -n "$WHITELIST" ] || isTrue ${ENABLE_WHITELIST:-false}; then
log "Creating whitelist"
setServerProp "whitelist" "true"
setServerProp "white-list" "true"