From f2f6309ed19f8e35310e6c2b485af17a99a5a5a7 Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Tue, 23 Aug 2022 11:57:57 -0700 Subject: [PATCH] Increase websocket connection attemp timeout. Fix typos. --- frontend/src/components/EncryptedChat.js | 2 +- nodeapp/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/EncryptedChat.js b/frontend/src/components/EncryptedChat.js index 240d7404..1622e1d6 100644 --- a/frontend/src/components/EncryptedChat.js +++ b/frontend/src/components/EncryptedChat.js @@ -39,7 +39,7 @@ class Chat extends Component { scrollNow:false, }; - rws = new ReconnectingWebSocket('ws://' + window.location.host + '/ws/chat/' + this.props.orderId + '/'); + rws = new ReconnectingWebSocket('ws://' + window.location.host + '/ws/chat/' + this.props.orderId + '/', [], {connectionTimeout: 15000}); componentDidMount() { this.rws.addEventListener('open', () => { diff --git a/nodeapp/README.md b/nodeapp/README.md index bd84c2d3..68a1cca4 100644 --- a/nodeapp/README.md +++ b/nodeapp/README.md @@ -1,4 +1,4 @@ -# RoboSats app for soverign nodes. +# RoboSats client app for sovereign nodes RoboSats app for soverign nodes ( Umbrel, Citadel, Start9 ...). This app serves the RoboSats frontend app directly from your own node and redirects all API requests to RoboSats P2P market coordinator through your node's TOR proxy.