mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-23 14:44:53 +01:00
remove extra slash from base_path
This commit is contained in:
parent
8f0b15117f
commit
a5722564a4
@ -997,7 +997,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
|
||||
'<script src="' +
|
||||
(chrome.extension
|
||||
? chrome.extension.getURL('lib/screenlog.js')
|
||||
: `${location.origin}/${BASE_PATH}/lib/screenlog.js`) +
|
||||
: `${location.origin}${BASE_PATH}/lib/screenlog.js`) +
|
||||
'"></script>';
|
||||
}
|
||||
|
||||
@ -1999,7 +1999,7 @@ globalConsoleContainerEl, externalLibrarySearchInput, keyboardShortcutsModal
|
||||
function init() {
|
||||
var lastCode;
|
||||
|
||||
CodeMirror.modeURL = `${BASE_PATH}/lib/codemirror/mode/%N/%N.js`;
|
||||
CodeMirror.modeURL = `lib/codemirror/mode/%N/%N.js`;
|
||||
|
||||
function getToggleLayoutButtonListener(mode) {
|
||||
return function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user