aboutsummaryrefslogtreecommitdiff
path: root/viewer/vue.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/vue.config.js')
-rw-r--r--viewer/vue.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/vue.config.js b/viewer/vue.config.js
index 9d885bd..9b92dc2 100644
--- a/viewer/vue.config.js
+++ b/viewer/vue.config.js
@@ -43,7 +43,7 @@ module.exports = {
43 const url = req.url.slice(process.env.VUE_APP_DATA_URL.length); 43 const url = req.url.slice(process.env.VUE_APP_DATA_URL.length);
44 const paramIdx = url.indexOf('?'); 44 const paramIdx = url.indexOf('?');
45 const filepath = paramIdx < 0 ? url : url.substring(0, paramIdx); 45 const filepath = paramIdx < 0 ? url : url.substring(0, paramIdx);
46 const fullpath = `${process.env.VUE_APP_EXAMPLE_PROJECT}${decodeURIComponent(filepath)}`; 46 const fullpath = `${process.env.VUE_APP_DEVSERVER_CONFIG_PATH}${decodeURIComponent(filepath)}`;
47 const file = fs.readFileSync(fullpath); 47 const file = fs.readFileSync(fullpath);
48 res.end(file); 48 res.end(file);
49 }); 49 });