summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/router
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-09-04 15:57:23 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2017-09-04 18:12:46 +0800
commit0b087ed645c0cd125cf5c6198f2bf115cb4de4b0 (patch)
tree401e991357638a4d5359b8c5ada0dafb076d8a9e /utils/test/testapi/opnfv_testapi/router
parentbbc57916c38601769aff5650f716c9d373795c22 (diff)
bugfix: leverage data_files to stop hacking setup.py
1) leverage data_files to distribute ui related files, and dispatch them under /usr/local/share/opnfv_testapi 2) delete hacking coding, no more extra processes 3) utilize MANIFEST.in to include 3rd_party when producing a source distribution Change-Id: Idb83a02be11f6b24610191e9f85e0db80d92e972 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/router')
-rw-r--r--utils/test/testapi/opnfv_testapi/router/url_mappings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/test/testapi/opnfv_testapi/router/url_mappings.py b/utils/test/testapi/opnfv_testapi/router/url_mappings.py
index be6240e70..c038e88cc 100644
--- a/utils/test/testapi/opnfv_testapi/router/url_mappings.py
+++ b/utils/test/testapi/opnfv_testapi/router/url_mappings.py
@@ -72,7 +72,7 @@ mappings = [
# static path
(r'/(.*\.(css|png|gif|js|html|json|map|woff2|woff|ttf))',
tornado.web.StaticFileHandler,
- {'path': CONF.static_path}),
+ {'path': CONF.ui_static_path}),
(r'/', root.RootHandler),
(r'/api/v1/auth/signin', sign.SigninHandler),