Skip to content

Commit

Permalink
hotfix-4.5.x: swagger fixed for https
Browse files Browse the repository at this point in the history
  • Loading branch information
javild committed Oct 6, 2017
1 parent 886725c commit b90d713
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cellbase-server/src/main/webapp/webservices/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
url = decodeURIComponent(url[1]);
console.log(url);
} else {
url = "http://" + window.location.hostname;
if (window.location.port != "80") {
url = window.location.protocol + "//" + window.location.hostname;
if (window.location.port !== "80") {
url += ":" + window.location.port;
}
// url += "/cellbase/webservices/rest/swagger.json";
Expand Down

0 comments on commit b90d713

Please sign in to comment.