mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
wss
This commit is contained in:
1 parent
c8282b215d
commit
4b35db6291
1 file changed
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user