From 0c9bc0ba22be9aa91ab945d566742c292bf8b780 Mon Sep 17 00:00:00 2001 From: yann300 Date: Fri, 4 Oct 2019 14:02:37 +0900 Subject: [PATCH] Fix adding import to the browser explorer --- src/app/tabs/compileTab/compileTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/tabs/compileTab/compileTab.js b/src/app/tabs/compileTab/compileTab.js index e8f88da2cc..61aaf50d4f 100644 --- a/src/app/tabs/compileTab/compileTab.js +++ b/src/app/tabs/compileTab/compileTab.js @@ -93,7 +93,7 @@ class CompileTab { if (error) return cb(error) if (this.fileProvider) { - this.fileProvider.addExternal(cleanUrl, content, url) + this.fileProvider.addExternal(type + '/' + cleanUrl, content, url) } cb(null, content) })