vue.config.js: update dev server config

This commit is contained in:
Seth Ladygo
2019-04-10 22:28:59 -07:00
parent 9d0e694f3a
commit b0250a8ea5

View File

@ -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) {