From 5f84c19c4511da6706a501308b509aacbc6219de Mon Sep 17 00:00:00 2001 From: Shrenik Date: Fri, 17 Aug 2018 00:28:40 +0530 Subject: Fix 3rd_party link in reporting Updates links to 3rd party resources in reporting module. This fixes graphs not being generated. Change-Id: I8bdb37f3b6948bc2fd09a8cf3d0b0f1588cafaf0 JIRA: STORPERF-258 Signed-off-by: Shrenik --- docker/storperf-reporting/src/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docker') diff --git a/docker/storperf-reporting/src/app.py b/docker/storperf-reporting/src/app.py index 9bd1a04..1c48eb0 100644 --- a/docker/storperf-reporting/src/app.py +++ b/docker/storperf-reporting/src/app.py @@ -130,12 +130,12 @@ def file_not_found(): @app.route('/reporting/3rd_party/js/') def js(path): - return send_from_directory('static/js/', path) + return send_from_directory('static/3rd_party/js/', path) @app.route('/reporting/3rd_party/css/') def css(path): - return send_from_directory('static/css/', path) + return send_from_directory('static/3rd_party/css/', path) @app.route('/reporting/images/') -- cgit 1.2.3-korg