Skip to content

Commit

Permalink
Scada web app loses WebSocket connection
Browse files Browse the repository at this point in the history
  • Loading branch information
rentallect committed Mar 18, 2024
1 parent 3e96d5d commit 6f5ff6c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/http/ziti-websocket-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,7 @@ async function initAsClient(websocket, address, protocols, options) {
let request = new ZitiHttpRequest(opts.serviceName, opts.href, opts, websocket._zitiContext);
const req_options = await request.getRequestOptions();
req_options.isWebSocket = true;
req_options.port = opts.serviceConnectAppData.dst_port;

// Send request
let req = (websocket._req = get(req_options));
Expand Down

0 comments on commit 6f5ff6c

Please sign in to comment.