Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

wss

Andras Bacsai4b35db629180
diff --git a/apps/ui/src/lib/store.ts b/apps/ui/src/lib/store.ts
index 88fd87fc9e..e586e968b9 100644
--- a/apps/ui/src/lib/store.ts
+++ b/apps/ui/src/lib/store.ts
@@ -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"
}