Fix 3rd_party link in reporting 23/61023/1 opnfv-7.0.stable.RC4
authorShrenik <shrenik.jain@research.iiit.ac.in>
Thu, 16 Aug 2018 18:58:40 +0000 (00:28 +0530)
committerShrenik <shrenik.jain@research.iiit.ac.in>
Thu, 16 Aug 2018 18:58:40 +0000 (00:28 +0530)
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 <shrenik.jain@research.iiit.ac.in>
docker/storperf-reporting/src/app.py

index 9bd1a04..1c48eb0 100644 (file)
@@ -130,12 +130,12 @@ def file_not_found():
 
 @app.route('/reporting/3rd_party/js/<path:path>')
 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/<path:path>')
 def css(path):
-    return send_from_directory('static/css/', path)
+    return send_from_directory('static/3rd_party/css/', path)
 
 
 @app.route('/reporting/images/<path:path>')