From afbb3df57116c53138cc4bb62fe1f3f98234df42 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Sun, 17 Aug 2025 15:04:04 +0800 Subject: [PATCH] Update dashboard.py --- src/dashboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dashboard.py b/src/dashboard.py index 92d42d28..b391d042 100644 --- a/src/dashboard.py +++ b/src/dashboard.py @@ -1475,9 +1475,9 @@ try: except ValueError: pass -app.static_url_path = f'{APP_PREFIX}' +app.static_url_path = f'{APP_PREFIX}/assets' app.add_url_rule( - app.static_url_path + '/assets/', + app.static_url_path + '/', endpoint='static', view_func=app.send_static_file) with app.app_context():