mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 15:56:17 +00:00
Update dashboard.py
This commit is contained in:
@@ -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/<path:filename>',
|
||||
app.static_url_path + '/<path:filename>',
|
||||
endpoint='static', view_func=app.send_static_file)
|
||||
|
||||
with app.app_context():
|
||||
|
Reference in New Issue
Block a user