Project

General

Profile

« Previous | Next » 

Revision 24e42456

Added by Andreas Kohlbecker almost 8 years ago

#5730 base url detection fixed

View differences:

cdmlib-remote-webapp/src/main/webapp/doc/webjars/springfox-swagger-ui/springfox.js
1 1
$(function() {
2 2
  var springfox = {
3 3
    "baseUrl": function() {
4
      var urlMatches = /(.*)\/doc\/index.html.*/.exec(window.location.href);
4
      var urlMatches = /(.*)\/doc\/.*/.exec(window.location.href); 
5 5
      return urlMatches[1];
6 6
    },
7 7
    "securityConfig": function(cb) {

Also available in: Unified diff