X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fmd-sal%2Fsal-rest-docgen%2Fsrc%2Fmain%2Fresources%2Fexplorer%2Findex.html;h=f12616bc4b910d8127fc7269ea8bd5bc6b863dd5;hp=05a76a4cb7ca0551d0bb55322b4603f78eb7fd4b;hb=351a78c9840c5b98a478b91ffd50befad998eb0e;hpb=5c05558190ade9321f973ac5a7e17a820a9d2e9a diff --git a/opendaylight/md-sal/sal-rest-docgen/src/main/resources/explorer/index.html b/opendaylight/md-sal/sal-rest-docgen/src/main/resources/explorer/index.html index 05a76a4cb7..f12616bc4b 100644 --- a/opendaylight/md-sal/sal-rest-docgen/src/main/resources/explorer/index.html +++ b/opendaylight/md-sal/sal-rest-docgen/src/main/resources/explorer/index.html @@ -32,7 +32,7 @@ var loadMount = function(mountIndex, mountPath) { $("#message").empty(); $("#message").append( "

Loading...

" ); - loadSwagger("http://localhost:8080/apidoc/apis/mounts/" + mountIndex, + loadSwagger("/apidoc/apis/mounts/" + mountIndex, "swagger-ui-container"); $("#message").empty(); $("#message").append( "

Showing mount points for " + mountPath + "

"); @@ -48,7 +48,7 @@ //loads the root swagger documenation (which comes from RestConf) var loadRootSwagger = function() { $("#message").empty(); - loadSwagger("http://localhost:8080/apidoc/apis", "swagger-ui-container"); + loadSwagger("/apidoc/apis", "swagger-ui-container"); } //main method to initialize the mount list / swagger docs / tabs on page load