From b0250a8ea57519312f492a311d6600b83e2676e6 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Wed, 10 Apr 2019 22:28:59 -0700 Subject: [PATCH] vue.config.js: update dev server config --- cateditor/vue.config.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/cateditor/vue.config.js b/cateditor/vue.config.js index 280ad9f..ec61817 100644 --- a/cateditor/vue.config.js +++ b/cateditor/vue.config.js @@ -20,14 +20,16 @@ module.exports = { .set('__STATIC__', 'static') config.devServer - // .public('http://newbeta.keen.apparentinc.com/vue/static/') + .public('http://newbeta.keen.apparentinc.com/vue') .publicPath('') .host('0.0.0.0') .port(8001) // .contentBase(path.join(__dirname, 'dist')) - .hot(true) - .hotOnly(true) - // .watchOptions({poll: 1000}) + .hot(false) + .hotOnly(false) + .disableHostCheck(true) // https://github.com/webpack/webpack-dev-server/issues/1604 + // .watchOptions({poll: true}) + .clientLogLevel('info') .https(false) .headers({"Access-Control-Allow-Origin": ["\*"]}) .setup(function(app, server) {