Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Stop Firefox from adding mysterious hash (#3348)

Patrick Bollinger0d5dee7b199c
diff --git a/web/components/stores/ClientConfigStore.tsx b/web/components/stores/ClientConfigStore.tsx
index 37850c5bb9..912e302875 100644
--- a/web/components/stores/ClientConfigStore.tsx
+++ b/web/components/stores/ClientConfigStore.tsx
@@ -374,9 +374,7 @@ export const ClientConfigStore: FC = () => {
const { socketHostOverride } = clientConfig;
// Get a copy of the browser location without #fragments.
- const l = window.location;
- l.hash = '';
- const location = l.toString().replaceAll('#', '');
+ const location = window.location.origin + window.location.pathname;
const host = socketHostOverride || location;
ws = new WebsocketService(accessToken, '/ws', host);