diff --git a/static/app.js b/static/app.js index b1c74497e..040cb4ac1 100644 --- a/static/app.js +++ b/static/app.js @@ -11,8 +11,10 @@ console.log('baseRoot', appRoot) vue: Vue, less: less }, getFile(url) { - document.get console.log('load.file', url) + if (!url.test(/^https?:\/\//)) { + url += url; + } return fetch(url).then(res => { if (res.ok) { return {getContentData: binary => binary ? res.arrayBuffer() : res.text()};