Skip to content

Commit

Permalink
fix url for ws
Browse files Browse the repository at this point in the history
  • Loading branch information
younes200 committed Nov 20, 2023
1 parent 812307c commit 7ef93ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const API_URL = import.meta.env.VITE_API_URL

const WS_URL = import.meta.env.VITE_WS_URL
? import.meta.env.VITE_WS_URL
: `ws://${location.host}/trpc`;
: `wss://${location.host}/trpc`;

dayjs.extend(relativeTime);
dayjs.extend(isLeapYear); // use plugin
Expand Down

0 comments on commit 7ef93ae

Please sign in to comment.