From 06d87eb600db4cb2a7fc2025e17f5be501894905 Mon Sep 17 00:00:00 2001 From: "Troll (Hermes Agent)" Date: Mon, 3 Aug 2026 22:37:57 +0000 Subject: [PATCH] fix: persist runtime settings next to database so they survive redeploys --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index a8e9211..4fb4d42 100644 --- a/app.py +++ b/app.py @@ -213,7 +213,7 @@ def decrypt_value(ciphertext): def settings_file_path(): """Return the path to the persistent runtime settings JSON file.""" - return Path(current_app.config['UPLOAD_FOLDER']).parent / current_app.config['SETTINGS_FILE'] + return Path(current_app.config['DATABASE']).parent / current_app.config['SETTINGS_FILE'] def load_booth_settings():