fix the constants of ENV

This commit is contained in:
Yifei Hu 2024-07-12 15:21:29 +08:00
parent 1ac51ee7a4
commit 52fd0b2e80
2 changed files with 2 additions and 4 deletions

View file

@ -1,6 +1,6 @@
export const ENV = {
WS_URL: process.env.NEXT_PUBLIC_WS_URL || "ws://localhost:3001",
API_URL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3001/api",
WS_URL: process.env.NEXT_PUBLIC_WS_URL || "ws://localhost:3000",
API_URL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000/api",
} as const;
export type ENV = typeof ENV;