Skip to content

Commit

Permalink
fix: socket URL api로 잘못 올라간 것 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyonun321 committed Nov 21, 2024
1 parent d892a15 commit 60d89c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/stores/useSocketStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const useSocketStore = create<SocketStore>((set, get) => ({
}

const SERVER_URL =
process.env.NODE_ENV === "development" ? "http://localhost:3000" : "https://api.nocta.site";
process.env.NODE_ENV === "development" ? "http://localhost:3000" : "https://nocta.site";

const socket = io(SERVER_URL, {
path: "/api/socket.io",
Expand Down

0 comments on commit 60d89c9

Please sign in to comment.