From 8ab4ed574f7a9eb0ce87a3be167f328ff98e9278 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Sat, 2 Sep 2023 13:31:47 +1000 Subject: [PATCH] main: Updated assets location --- master/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/master/main.py b/master/main.py index 2acd5d8..637f299 100644 --- a/master/main.py +++ b/master/main.py @@ -737,10 +737,11 @@ def failed_login(): # Assets @app.route('/assets/') 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') \ No newline at end of file