From 9e3c76fdd45af74f4b8129e6832088fda73b2fe0 Mon Sep 17 00:00:00 2001 From: Roee Gadot Date: Thu, 7 Jul 2022 13:32:20 +0300 Subject: [PATCH] change a little bit --- ui/src/helpers/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/helpers/api.js b/ui/src/helpers/api.js index ece9220a6..7b7dc1802 100644 --- a/ui/src/helpers/api.js +++ b/ui/src/helpers/api.js @@ -1,7 +1,7 @@ import * as axios from "axios"; export const MizuWebsocketURL = process.env.REACT_APP_OVERRIDE_WS_URL ? process.env.REACT_APP_OVERRIDE_WS_URL : - window.location.protocol === 'https:' ? `wss://${window.location.host}/api/ws` : `ws://${window.location.host}/api/ws`; + window.location.protocol === 'https:' ? `wss://${window.location.host}/ws` : `ws://${window.location.host}/ws`; const CancelToken = axios.CancelToken;