diff --git a/client/src/services/apiProxy.ts b/client/src/services/apiProxy.ts index d144c03..d16f766 100644 --- a/client/src/services/apiProxy.ts +++ b/client/src/services/apiProxy.ts @@ -20,7 +20,7 @@ type StreamArgs = { } const {hostname, href, hash, search} = window.location; -const nonHashedUrl = href.replace(hash, '').replace(search, '').replace('#', ''); +const nonHashedUrl = href.replace(hash, '').replace(search, ''); const isDev = process.env.NODE_ENV !== 'production'; const BASE_HTTP_URL = isDev && hostname === 'localhost' ? 'http://localhost:4654' : nonHashedUrl; const BASE_WS_URL = BASE_HTTP_URL.replace('http', 'ws');