diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-12 18:33:00 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-05-17 16:43:12 +0800 |
commit | 74a3b45c290d1b6e289ac1c3b9425e804e2f0ab7 (patch) | |
tree | 905343c0fbd8114b1619641dcf359e2cd3fc1928 /testapi/opnfv_testapi/cmd | |
parent | de3ac5fcdb1259df876df53d93b4166011fae79b (diff) |
refactor static_path to accomodate web portal
move tornado_swagger/static to opnfv_testapi/static
move swagger related 3rd libs to 3rd_party/swagger
Change-Id: I32bba10584c99d13687b93f32577e37581db0c63
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi/cmd')
-rw-r--r-- | testapi/opnfv_testapi/cmd/server.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/cmd/server.py b/testapi/opnfv_testapi/cmd/server.py index 8b092b8..2696bb3 100644 --- a/testapi/opnfv_testapi/cmd/server.py +++ b/testapi/opnfv_testapi/cmd/server.py @@ -58,7 +58,8 @@ def get_db(): def make_app(): - swagger.docs(base_url=CONF.swagger_base_url) + swagger.docs(base_url=CONF.swagger_base_url, + static_path=CONF.static_path) return swagger.Application( url_mappings.mappings, db=get_db(), |