Skip to content

Commit

Permalink
Fix ws address
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-face committed Jun 24, 2024
1 parent d1a2839 commit e1af6c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/redirectMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export function useRedirectMap() {
useEffect(() => {
(async () => {
if (hotReload) {
const socket = io(`ws:${window.location}`, {
const socket = io(`ws://${window.location.host}`, {
reconnectionAttempts: 1, // Limit reconnection attempts
});

Expand Down

0 comments on commit e1af6c4

Please sign in to comment.