Update dashboard.py

pull/851/head^2
Donald Zou 2025-08-17 14:57:20 +08:00
parent ac9fd8f2ca
commit b92c345b3a
1 changed files with 1 additions and 1 deletions

View File

@ -1477,7 +1477,7 @@ except ValueError:
app.static_url_path = f'{APP_PREFIX}'
app.add_url_rule(
app.static_url_path + '/<path:filename>',
app.static_url_path + '/assets/<path:filename>',
endpoint='static', view_func=app.send_static_file)
with app.app_context():