Files
gitlab-instance-0a899031_salon/app/lib/env.ts
2026-03-16 09:32:35 -05:00

7 lines
249 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
const isDev = process.env.NODE_ENV === "development";
/** 前端站点地址。线上 nomadyt.com,开发 localhost:3002 */
export const SITE_URL =
process.env.NEXT_PUBLIC_SITE_URL ||
(isDev ? "http://localhost:3002" : "https://nomadyt.com");