mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix issue with empty server name in Config.py of web UI
This commit is contained in:
parent
bf9a4e291b
commit
92ff8000ce
1 changed files with 3 additions and 0 deletions
|
|
@ -36,6 +36,9 @@ class Config:
|
|||
plugins_settings = self.get_plugins_settings()
|
||||
for service in services_conf:
|
||||
server_name = service["SERVER_NAME"].split(" ")[0]
|
||||
if not server_name:
|
||||
continue
|
||||
|
||||
for k in service:
|
||||
key_without_server_name = k.replace(f"{server_name}_", "")
|
||||
if plugins_settings[key_without_server_name]["context"] != "global" if key_without_server_name in plugins_settings else True:
|
||||
|
|
|
|||
Loading…
Reference in a new issue