Commit 04ec76e
committed
fix(docs): BACKEND_URL fallback 改为生产地址,修复 Vercel SSR resolve 失败
Vercel 运行时若未配置 BACKEND_URL 环境变量,之前 fallback 到
http://localhost:8080 导致 resolve 请求连不上后端,降级到 notFound()
仍返回 404,服务端 308 不生效。
改为 fallback 到 https://api.involutionhell.com,Vercel 节点可直接
到达生产后端,resolve 正常工作。
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>1 parent 6af9621 commit 04ec76e
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments