fix: .env.production 显式置空 APP_APIHOST,构建走同源本地接口
NodeJS with Webpack / build (push) Canceled after 0s
NodeJS with Webpack / build (push) Canceled after 0s
This commit is contained in:
1 parent
84b2e6201f
commit
136721fe83
1 file changed
+6
-1
+6
-1
@@ -1 +1,6 @@
|
||||
APP_FLAG=prod
|
||||
APP_FLAG=prod
|
||||
# 关键:接口地址留空 = 走同源相对路径,由本项目 server/index.js 提供
|
||||
# 不置空会继承 .env 里的 https://github.kuaitu.cc(上游云服务),本地模板与 AI 素材全部取不到
|
||||
APP_APIHOST=
|
||||
APP_ADMINAPIHOST=
|
||||
APP_TITLE=快图设计 · 封面工坊
|
||||
Reference in new issue
Block a user