This commit is contained in:
Andras Bacsai 2022-10-28 14:51:22 +00:00
parent c8282b215d
commit 4b35db6291

View File

@ -172,7 +172,7 @@ export const state = writable<State>({
export const connect = () => {
const token = Cookies.get('token')
if (token) {
let url = `ws://${window.location.hostname}/realtime`
let url = `wss://${window.location.hostname}/realtime`
if (dev) {
url = "ws://localhost:3001/realtime"
}