From 113bff3c4dcc1976f24df16d4224e1871e665ae0 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Mon, 27 Apr 2020 22:23:10 +0200 Subject: viewer: tabSize, quote-props, quotes, object-curly-spacing --- viewer/vue.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'viewer/vue.config.js') diff --git a/viewer/vue.config.js b/viewer/vue.config.js index 9b92dc2..f481e4f 100644 --- a/viewer/vue.config.js +++ b/viewer/vue.config.js @@ -28,10 +28,10 @@ module.exports = { }, }, chainWebpack: (config) => { - config.plugins.delete('prefetch'); + config.plugins.delete("prefetch"); }, configureWebpack: { - devtool: 'source-map' + devtool: "source-map" }, productionSourceMap: false, devServer: { @@ -41,7 +41,7 @@ module.exports = { app.get(`/${process.env.VUE_APP_DATA_URL}*`, (req, res) => { const fs = require("fs"); const url = req.url.slice(process.env.VUE_APP_DATA_URL.length); - const paramIdx = url.indexOf('?'); + const paramIdx = url.indexOf("?"); const filepath = paramIdx < 0 ? url : url.substring(0, paramIdx); const fullpath = `${process.env.VUE_APP_DEVSERVER_CONFIG_PATH}${decodeURIComponent(filepath)}`; const file = fs.readFileSync(fullpath); -- cgit v1.2.3