Skip to content

Commit

Permalink
fix: use wss instead of https for Event endpoint (#298)
Browse files Browse the repository at this point in the history
Signed-off-by: thisRedH <[email protected]>
  • Loading branch information
thisRedH authored Jul 5, 2024
1 parent 71b3e98 commit 170f66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/components/common/lib/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
DEFAULT_WS_URL:
(import.meta.env.DEV ? import.meta.env.VITE_DEV_WS_URL : undefined) ??
(import.meta.env.VITE_WS_URL as string) ??
"https://revolt.chat/events",
"wss://revolt.chat/events",
/**
* What media server to connect to by default.
*/
Expand Down

0 comments on commit 170f66b

Please sign in to comment.