Skip to content

Commit

Permalink
chore: Fix permission issues when gunicorn master creates the .ui.jso…
Browse files Browse the repository at this point in the history
…n file at startup
  • Loading branch information
TheophileDiot committed Jun 18, 2024
1 parent 5a1d88d commit 774f239
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ui/gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 774f239

Please sign in to comment.