Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Commit

Permalink
wss
Browse files Browse the repository at this point in the history
  • Loading branch information
Fogrexon committed May 1, 2022
1 parent aadd043 commit 7263574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/EventEmitter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const EventEmitter = mitt<VisualizerEvents>()

export const initializeEventEmitter = () => {
try {
const websocket = new WebSocket(`ws://${location.host}/ws/visualizer`)
const websocket = new WebSocket(`wss://${location.host}/ws/visualizer`)
websocket.addEventListener('message', messageHandler.bind(this))
websocket.addEventListener('error', e => {
console.error(e)
Expand Down

0 comments on commit 7263574

Please sign in to comment.