瀏覽代碼

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


Loading…
取消
儲存