summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/conf/globalconfig.json2
-rw-r--r--openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/gconf.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/conf/globalconfig.json b/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/conf/globalconfig.json
index 20ce9a54..93714d49 100644
--- a/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/conf/globalconfig.json
+++ b/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/conf/globalconfig.json
@@ -1,5 +1,5 @@
{
"url": "http://127.0.0.1",
"port": "8080",
- "context_name":"resmgr"
+ "context_name":"/resmgr"
} \ No newline at end of file
diff --git a/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/gconf.js b/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/gconf.js
index df55a1d0..bf8f829c 100644
--- a/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/gconf.js
+++ b/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/gconf.js
@@ -22,7 +22,7 @@ function getUrl(){
async:false,
dataType:"json",
success:function(jsonData) {
- url = jsonData.url + ":" + jsonData.port +"/"+jsonData.context_name;
+ url = jsonData.url + ":" + jsonData.port +jsonData.context_name;
console.log("url = " + url);
}
});