change ws route in webpack-dev-server
This commit is contained in:
@@ -24,6 +24,14 @@ module.exports = {
|
||||
port: 8988,
|
||||
disableHostCheck: true,
|
||||
publicPath: '/',
|
||||
sockHost: 'localhost',
|
||||
public: 'localhost:8988/',
|
||||
proxy: {
|
||||
'^/api': {
|
||||
target: 'http://0.0.0.0:9000',
|
||||
logLevel: 'debug'
|
||||
}
|
||||
},
|
||||
// quiet: false,
|
||||
watchOptions: {
|
||||
ignored: /node_modules/
|
||||
|
||||
Reference in New Issue
Block a user