fix(integrations): 回调地址漏了 /api/v1,生产上打过去是 405
CI / backend (push) Canceled after 0s

生产把应用挂在域名根、路由带 /api/v1 前缀,request.base_url 里没有前缀,
拼出来的地址少了这一段;本地被 Vite 的代理掩盖了。改成从 base_url 截站点根、
前缀一律取 settings.api_prefix,并补一条断言把这个差异钉住。
This commit is contained in:
Steven
2026-11-05 22:06:37 +08:00
parent 90b99f8253
commit c194609193
3 changed files with 17 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB