feat(site): 官网接入线上接口并统一站点域名

This commit is contained in:
Zhou Weidong committed 2026-11-17 15:13:42 +08:00
1 parent 0dc1b3a68e
commit 81909b1ec9
3 files changed
+10 -2

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
# Author: fruit.com.cn
# 生产构建(vite build 默认 mode=production)专用:官网直连线上客户端接口。
# 本地开发仍读 .env,指向 127.0.0.1:8081,两者互不影响。
VITE_API_BASE_URL=https://drama-api.frostgiant.vip
# 媒资(封面/视频)与接口同域,避免站点域名下 /files 404。
VITE_MEDIA_BASE_URL=https://drama-api.frostgiant.vip