mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Fix permission issues when gunicorn master creates the .ui.json file at startup
This commit is contained in:
parent
5a1d88dd3e
commit
774f239eed
1 changed files with 0 additions and 2 deletions
|
|
@ -57,8 +57,6 @@ def on_starting(server):
|
|||
if not getenv("FLASK_SECRET") and not TMP_DIR.joinpath(".flask_secret").is_file():
|
||||
TMP_DIR.joinpath(".flask_secret").write_text(sha256(urandom(32)).hexdigest(), encoding="utf-8")
|
||||
|
||||
TMP_DIR.joinpath(".ui.json").write_text("{}", encoding="utf-8")
|
||||
|
||||
LOGGER = setup_logger("UI")
|
||||
|
||||
db = Database(LOGGER, ui=True)
|
||||
|
|
|
|||
Loading…
Reference in a new issue