main: Updated assets location
This commit is contained in:
parent
58bce1e8bf
commit
8ab4ed574f
@ -737,10 +737,11 @@ def failed_login():
|
||||
# Assets
|
||||
@app.route('/assets/<path:path>')
|
||||
def send_report(path):
|
||||
return send_from_directory('assets', path)
|
||||
return send_from_directory('templates/assets', path)
|
||||
|
||||
|
||||
|
||||
|
||||
# Start the server
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=False, port=5000, host='0.0.0.0')
|
Loading…
Reference in New Issue
Block a user