Skip to content

Commit

Permalink
Added logging to the WebSocket proxy in the API application
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor committed Jun 7, 2024
1 parent 0cb3a7c commit 6a67903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function main() {
},
on: {
proxyReqWs: (proxyReq) => {
console.log('WebSocket connection requestWS', res);
console.log('WebSocket connection requestWS');
proxyReq.removeHeader('Origin');
},
proxyReq: (proxyReq, req) => {
Expand Down

0 comments on commit 6a67903

Please sign in to comment.