This commit is contained in:
root
2026-06-07 19:18:24 +08:00
parent a1daa040ef
commit 32b900547a
16 changed files with 127 additions and 427 deletions

View File

@@ -4,6 +4,7 @@
*/
import { DEFAULT_PAYMENT_API_URL, DEFAULT_SITE_URL } from "@/config/digital/domain.config";
import { IS_DEVELOPMENT } from "@/config/runtime-env";
/** 支付 API 地址(payjsapi) */
export const PAYMENT_API_URL =
@@ -14,4 +15,4 @@ export const SITE_URL =
process.env.NEXT_PUBLIC_SITE_URL || DEFAULT_SITE_URL;
/** 是否为本地开发 */
export const IS_DEV = process.env.NODE_ENV === "development";
export const IS_DEV = IS_DEVELOPMENT;