From d540a9d3514717d3a0195f36c7f524e119aefef4 Mon Sep 17 00:00:00 2001 From: axolotle Date: Tue, 23 Feb 2021 14:23:34 +0100 Subject: [PATCH] change ws route in webpack-dev-server --- vue.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vue.config.js b/vue.config.js index 46ebdc1..94282b3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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/