Skip to content

Commit

Permalink
CB-4059 do not verify the SSL Certificate of the target server in dev…
Browse files Browse the repository at this point in the history
… mode
  • Loading branch information
devnaumov committed Sep 28, 2023
1 parent 2e71cfd commit 60f9eb9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 60f9eb9

Please sign in to comment.