From bfb1c3c28862f616205329b008d8dc5edb7c302c Mon Sep 17 00:00:00 2001 From: Andreas Date: Thu, 7 Dec 2017 19:59:42 +0100 Subject: [PATCH] Update index.html --- dist/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 + ", ";