fix: .env.production 显式置空 APP_APIHOST,构建走同源本地接口
NodeJS with Webpack / build (push) Canceled after 0s

This commit is contained in:
jinghui committed 2026-10-26 18:13:14 +08:00
1 parent 84b2e6201f
commit 136721fe83
1 file changed
+6 -1
+6 -1
View File
@@ -1 +1,6 @@
APP_FLAG=prod
APP_FLAG=prod
# 关键:接口地址留空 = 走同源相对路径,由本项目 server/index.js 提供
# 不置空会继承 .env 里的 https://github.kuaitu.cc(上游云服务),本地模板与 AI 素材全部取不到
APP_APIHOST=
APP_ADMINAPIHOST=
APP_TITLE=快图设计 · 封面工坊