mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix default values in whitelist job
This commit is contained in:
parent
8f456722e0
commit
2aa9f46ef4
1 changed files with 2 additions and 2 deletions
|
|
@ -60,11 +60,11 @@ try:
|
|||
# Multisite case
|
||||
if getenv("MULTISITE", "no") == "yes":
|
||||
for first_server in getenv("SERVER_NAME", "").split(" "):
|
||||
if getenv(f"{first_server}_USE_WHITELIST", getenv("USE_WHITELIST", "no")) == "yes":
|
||||
if getenv(f"{first_server}_USE_WHITELIST", getenv("USE_WHITELIST", "yes")) == "yes":
|
||||
whitelist_activated = True
|
||||
break
|
||||
# Singlesite case
|
||||
elif getenv("USE_WHITELIST", "no") == "yes":
|
||||
elif getenv("USE_WHITELIST", "yes") == "yes":
|
||||
whitelist_activated = True
|
||||
|
||||
if not whitelist_activated:
|
||||
|
|
|
|||
Loading…
Reference in a new issue