CB-4059 do not verify the SSL Certificate of the target server in dev mode (#2025)

This commit is contained in:
alex
2023-09-28 13:47:29 +03:00
committed by GitHub
parent 713082215f
commit 6da5f3b0e4
@@ -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) {