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