mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix SERVER_NAME setting when not in multisite mode
This commit is contained in:
parent
c39793a31a
commit
aab019d172
1 changed files with 2 additions and 3 deletions
|
|
@ -938,9 +938,8 @@ class Database:
|
|||
}
|
||||
)
|
||||
|
||||
if is_multisite:
|
||||
servers = " ".join(service.id for service in session.query(Services).all())
|
||||
config["SERVER_NAME"] = servers if not methods else {"value": servers, "global": True, "method": "default"}
|
||||
servers = " ".join(service.id for service in session.query(Services).all())
|
||||
config["SERVER_NAME"] = servers if not methods else {"value": servers, "global": True, "method": "default"}
|
||||
|
||||
return config
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue