From 13bb6da26a47afc1ad17c1cc0e8b473ba521ed3f Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Thu, 13 Aug 2026 00:48:50 +0000 Subject: [PATCH] Add a debug mode warning on the admin settings page. --- bemani/frontend/templates/admin/settings.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bemani/frontend/templates/admin/settings.html b/bemani/frontend/templates/admin/settings.html index 85ef5b9..2e65040 100644 --- a/bemani/frontend/templates/admin/settings.html +++ b/bemani/frontend/templates/admin/settings.html @@ -3,6 +3,15 @@
To change any of these settings, edit {{ config.filename }}.
+ {% if config.debug %} +
+

Debug Settings

+

+ This server is running in debug mode, most likely launched from development utilities. + Do not serve production traffic with this instance. +

+
+ {% endif %}

Database Settings