diff --git a/dist/index.html b/dist/index.html index 1eb5bb3ab20..664c83a6d60 100644 --- a/dist/index.html +++ b/dist/index.html @@ -76,10 +76,10 @@ // derive base path from window.location.pathname, set it to basePath and update footer var fixedBase; if (window.location.pathname.indexOf("index.html") >= 0) { - fixedBase = window.location.pathname.replace("swagger-ui/index.html","rest"); + fixedBase = window.location.pathname.replace("static/docs/swagger-ui/index.html","rest"); } else { - fixedBase = window.location.pathname.replace("swagger-ui/","rest"); + fixedBase = window.location.pathname.replace("static/docs/swagger-ui/","rest"); } swaggerApi.setBasePath(fixedBase); document.getElementsByClassName("footer")[0].getElementsByTagName("h4")[0].childNodes[2].data = ": " +fixedBase + ", ";