Skip to content

Commit

Permalink
update websocket connection url
Browse files Browse the repository at this point in the history
  • Loading branch information
rockwellll committed Jan 15, 2025
1 parent 635fe61 commit 16a1dcc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/hellotext.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/channels/application_channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var ApplicationChannel = /*#__PURE__*/function () {
key: "webSocket",
get: function get() {
if (!ApplicationChannel.webSocket) {
return ApplicationChannel.webSocket = new WebSocket("ws://localhost:3000/cable");
return ApplicationChannel.webSocket = new WebSocket("wss://www.hellotext.com/cable");
}
return ApplicationChannel.webSocket;
}
Expand Down
2 changes: 1 addition & 1 deletion src/channels/application_channel.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ApplicationChannel {

get webSocket() {
if (!ApplicationChannel.webSocket) {
return ApplicationChannel.webSocket = new WebSocket("ws://localhost:3000/cable")
return ApplicationChannel.webSocket = new WebSocket("wss://www.hellotext.com/cable")
}

return ApplicationChannel.webSocket
Expand Down

0 comments on commit 16a1dcc

Please sign in to comment.