fix the constants of ENV
This commit is contained in:
parent
1ac51ee7a4
commit
52fd0b2e80
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue