diff --git a/webapp/packages/core-cli/configs/webpack.product.dev.config.js b/webapp/packages/core-cli/configs/webpack.product.dev.config.js index 32653b5b61..44be0161a2 100644 --- a/webapp/packages/core-cli/configs/webpack.product.dev.config.js +++ b/webapp/packages/core-cli/configs/webpack.product.dev.config.js @@ -61,10 +61,12 @@ module.exports = (env, argv) => { proxy: { '/api': { target: envServer, + secure: false, }, '/api/ws': { target: `${urlObject.protocol === 'https:' ? 'wss:' : 'ws:'}//${urlObject.hostname}:${urlObject.port}/api/ws`, ws: true, + secure: false, }, }, onListening: function (devServer, ...args) {