Skip to content

Commit

Permalink
fix: module stuff, can't be bothered
Browse files Browse the repository at this point in the history
  • Loading branch information
GeeWizWow committed Apr 29, 2023
1 parent b0a9bc6 commit 17be5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/utils/socketMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class SocketCall {

const createClient = (store) => {
const protocol = location.protocol === 'https:' ? 'wss:' : 'ws:'
const socket = io(`${protocol}//${window.location.host}`, {
const socket = io.default(`${protocol}//${window.location.host}`, {
path: '/ws',
autoConnect: false,
reconnection: true,
Expand Down

0 comments on commit 17be5d7

Please sign in to comment.