modify url to relative path to fit with testresults.opnfv.org/test 39/37839/1
authorgrakiss <grakiss.wanglei@huawei.com>
Thu, 20 Jul 2017 06:59:30 +0000 (14:59 +0800)
committergrakiss <grakiss.wanglei@huawei.com>
Thu, 20 Jul 2017 06:59:30 +0000 (14:59 +0800)
Change-Id: Ia600fe310404a1ba45e9571d611eedcdc669dbc7
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
utils/test/testapi/3rd_party/static/testapi-ui/app.js

index 8c701c3..bb31ab0 100644 (file)
@@ -54,8 +54,8 @@
                 controller: 'ResultsController as ctrl'
             }).
             state('userResults', {
-                url: 'user_results',
-                templateUrl: '/testapi-ui/components/results/results.html',
+                url: '/user_results',
+                templateUrl: 'testapi-ui/components/results/results.html',
                 controller: 'ResultsController as ctrl'
             }).
             state('resultsDetail', {
@@ -66,7 +66,7 @@
             }).
             state('profile', {
                 url: '/profile',
-                templateUrl: '/testapi-ui/components/profile/profile.html',
+                templateUrl: 'testapi-ui/components/profile/profile.html',
                 controller: 'ProfileController as ctrl'
             }).
             state('authFailure', {