Document the error pages dir

This commit is contained in:
2025-03-19 14:21:35 +01:00
parent b7a6199a17
commit 9d0762722d
2 changed files with 6 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ Session(app)
# Verify the required configuration
# SERVE_DIR: Base dir of the files we want to serve; Flask will take care not to escape this dir
# MOTHERSHIP: Mothership server and login-url, which will redirect here with a sessionstart/SEKRIT
# ERROR_PAGES_DIR: (optional) Base dir of 403.html, 404.html to show as alternative to default short error message
config_vars = ['SERVE_DIR', 'MOTHERSHIP', 'ERROR_PAGES_DIR']
for config_var in config_vars:
if config_var not in app.config: