Skip to content

Commit

Permalink
chore: force env var on socket
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 14, 2024
1 parent eac8088 commit 8d0e743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/lib/socket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { io, Socket } from "socket.io-client";
const URL = process.env.NEXT_PUBLIC_SOCKET_URL;

export const socket = (): Socket => {
return io(URL);
return io(URL!);
};

0 comments on commit 8d0e743

Please sign in to comment.