重构配置管理,更新域名处理逻辑,简化配置结构

This commit is contained in:
2026-02-07 13:06:28 +08:00
parent 0be7627bd1
commit 6bf8d86c10
3 changed files with 13 additions and 38 deletions

View File

@@ -1,5 +1,7 @@
import { useKey } from "@kevisual/use-config";
/**
* 用来放cookie的域名
*/
export const domain = process.env.DOMAIN || ''; // 请在这里填写你的域名
export const proxyDomain = useKey('PROXY_DOMAIN') || ''; // 请在这里填写你的域名