diff --git a/zhiyin-app/.env.production b/zhiyin-app/.env.production index 529d42e..1e0a299 100644 --- a/zhiyin-app/.env.production +++ b/zhiyin-app/.env.production @@ -1,4 +1,4 @@ # 生产环境变量 -VITE_API_BASE_URL=https://zhiyin.yzrcloud.cn/api +VITE_API_BASE_URL=https://zhiyinwx.yzrcloud.cn/api VITE_APP_NAME=AI磁场 -VITE_PROD_API_HOST=https://zhiyin.yzrcloud.cn +VITE_PROD_API_HOST=https://zhiyinwx.yzrcloud.cn diff --git a/zhiyin-app/src/config.ts b/zhiyin-app/src/config.ts index da3fd89..259f3b9 100644 --- a/zhiyin-app/src/config.ts +++ b/zhiyin-app/src/config.ts @@ -88,7 +88,7 @@ export const API_ENDPOINTS = { }, } as const -const PROD_API_HOST = import.meta.env.VITE_PROD_API_HOST || 'https://zhiyin.yzrcloud.cn' +const PROD_API_HOST = import.meta.env.VITE_PROD_API_HOST || 'https://zhiyinwx.yzrcloud.cn' const DEV_API_HOST = 'http://localhost:3006' let API_HOST: string