mirror of
https://github.com/makeplane/plane.git
synced 2026-07-13 05:49:40 +02:00
regression: live base url (#2979)
This commit is contained in:
@@ -10,7 +10,7 @@ export const ADMIN_BASE_PATH = process.env.NEXT_PUBLIC_ADMIN_BASE_PATH || "";
|
||||
export const SPACE_BASE_URL = process.env.NEXT_PUBLIC_SPACE_BASE_URL || "";
|
||||
export const SPACE_BASE_PATH = process.env.NEXT_PUBLIC_SPACE_BASE_PATH || "";
|
||||
|
||||
export const LIVE_BASE_URL = Math.random() < 0.5 ? "http://localhost:3004" : "http://localhost:3005";
|
||||
export const LIVE_BASE_URL = process.env.NEXT_PUBLIC_LIVE_BASE_URL || "";
|
||||
export const LIVE_BASE_PATH = process.env.NEXT_PUBLIC_LIVE_BASE_PATH || "";
|
||||
export const LIVE_URL = `${LIVE_BASE_URL}${LIVE_BASE_PATH}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user