22 lines
642 B
TypeScript
22 lines
642 B
TypeScript
// ── Product Configuration ────────────────────────────────────
|
|
// ChronoMind product identity for platform-service integration.
|
|
|
|
export const PRODUCT_ID = "chronomind";
|
|
export const PRODUCT_NAME = "ChronoMind";
|
|
|
|
export function getPlatformBaseURL(): string {
|
|
return (
|
|
process.env.PLATFORM_SERVICE_URL ||
|
|
process.env.NEXT_PUBLIC_PLATFORM_SERVICE_URL ||
|
|
"http://localhost:4003"
|
|
);
|
|
}
|
|
|
|
export function getBackendBaseURL(): string {
|
|
return (
|
|
process.env.BACKEND_URL ||
|
|
process.env.NEXT_PUBLIC_BACKEND_URL ||
|
|
"http://localhost:4011"
|
|
);
|
|
}
|