no message

This commit is contained in:
Roee Gadot 2022-07-07 17:38:49 +03:00
parent 9e3c76fdd4
commit d7b5de9ae1
2 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,8 @@
location /api/ {
proxy_pass http://127.0.0.1:8899/;
}
location /ws/ {
proxy_pass http://127.0.0.1:8899/ws/;
location /ws {
proxy_pass http://127.0.0.1:8899/ws;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
@ -17,3 +17,6 @@ location /wsTapper {
proxy_set_header Host $host;
proxy_read_timeout 86400s;
}

View File

@ -5,7 +5,7 @@ export const MizuWebsocketURL = process.env.REACT_APP_OVERRIDE_WS_URL ? process.
const CancelToken = axios.CancelToken;
const apiURL = process.env.REACT_APP_OVERRIDE_API_URL ? process.env.REACT_APP_OVERRIDE_API_URL : `${window.location.origin}`;
const apiURL = process.env.REACT_APP_OVERRIDE_API_URL ? process.env.REACT_APP_OVERRIDE_API_URL : `${window.location.origin}/`;
let client = null
let source = null