We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 558f6ca commit 0e6c98dCopy full SHA for 0e6c98d
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "chatgpt-mattermost-bot",
3
- "version": "1.3.3",
+ "version": "1.3.4",
4
"private": true,
5
"scripts": {
6
"start": "node ./src/botservice.js"
src/mm-client.js
@@ -16,7 +16,7 @@ client.setToken(mattermostToken)
16
17
const wsClient = new WebSocketClient();
18
const wsUrl = new URL(client.getWebSocketUrl());
19
-wsUrl.protocol = wsUrl.protocol === 'https' ? 'wss' : 'ws'
+wsUrl.protocol = wsUrl.protocol === 'https:' ? 'wss' : 'ws'
20
21
new Promise((resolve, reject) => {
22
wsClient.addCloseListener(connectFailCount => reject())
0 commit comments