Skip to content

Commit

Permalink
Merge pull request #167 from boostcampwm-2024/Hotfix/#166_client_.env…
Browse files Browse the repository at this point in the history
…파일_nocta.site가_아닌_문제

fix: socket URL api로 잘못 올라간 것 수정
  • Loading branch information
github-actions[bot] authored Nov 21, 2024
2 parents d892a15 + 60d89c9 commit 31a92df
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 31a92df

Please sign in to comment.