main: Updated assets location
All checks were successful
Build Docker / Build Master (push) Successful in 28s
Build Docker / Build Bot (push) Successful in 28s

This commit is contained in:
Nathan Woodburn 2023-09-02 13:31:47 +10:00
parent 58bce1e8bf
commit 8ab4ed574f
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -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')