Skip to content

Commit

Permalink
fix: Fix ws connection establishement
Browse files Browse the repository at this point in the history
  • Loading branch information
Volodymyr-Kuchinskyi committed May 29, 2024
1 parent 60b61e6 commit a78cb28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions server/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ async function main() {
headers: {
authorization: config.csprCloudAccessKey,
},
on: {
proxyReqWs: (proxyReq) => {
proxyReq.removeHeader('Origin');
},
}
});
app.get('/deploys', csprCloudStreamingProxy);

Expand Down

0 comments on commit a78cb28

Please sign in to comment.