vue.config.js: update dev server config
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user