浏览代码

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 年前
父节点
当前提交
7904bd233c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/standalone/standalone.js

+ 1
- 1
src/standalone/standalone.js 查看文件

@@ -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) {


正在加载...
取消
保存