From a7f68ce10f983803e8904ef2f1b2aa0198d6b9e6 Mon Sep 17 00:00:00 2001 From: grakiss Date: Thu, 20 Jul 2017 14:59:30 +0800 Subject: modify url to relative path to fit with testresults.opnfv.org/test Change-Id: Ia600fe310404a1ba45e9571d611eedcdc669dbc7 Signed-off-by: grakiss --- testapi/3rd_party/static/testapi-ui/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testapi') diff --git a/testapi/3rd_party/static/testapi-ui/app.js b/testapi/3rd_party/static/testapi-ui/app.js index 8c701c3..bb31ab0 100644 --- a/testapi/3rd_party/static/testapi-ui/app.js +++ b/testapi/3rd_party/static/testapi-ui/app.js @@ -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', { -- cgit 1.2.3-korg