Browse Source

Set basePath correctly when the config location is specified as url parameter and config does not contain a basePath

pull/399/head
Benedikt Huß 7 years ago
parent
commit
7904bd233c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/standalone/standalone.js

+ 1
- 1
src/standalone/standalone.js View File

@@ -66,7 +66,7 @@ function parseURLParameters() {

// Set JSON file location
if (responseMap.basePath === undefined)
responseMap.basePath = configFromURL.config.substring(0, configFromURL.config.lastIndexOf('/')+1);
responseMap.basePath = configFromURL.config.substring(0, configFromURL.config.lastIndexOf('/'));

// Merge options
for (var key in responseMap) {


Loading…
Cancel
Save