fix(conf): 注册/idfile+/download媒体下载路由(startswiths,对齐sage/ragserver)+rp.json补/idfile/**通配权限——生成的视频下载401(无通配权限行)且404(路由未注册)双层根因根治;测试机已就地同步并实测外网匿名下载200(2.8MB mp4)

This commit is contained in:
yumoqing 2026-09-08 11:22:32 +08:00
parent 44e6f5b18a
commit a1726de37e
2 changed files with 13 additions and 1 deletions

View File

@ -49,6 +49,14 @@
"client_max_size": 10485760,
"indexes": ["index.ui", "index.html"],
"startswiths": [
{
"leading": "/idfile",
"registerfunction": "idfile"
},
{
"leading": "/download",
"registerfunction": "idfile"
},
{
"leading": "/i18n_getmsgs",
"registerfunction": "i18n"

View File

@ -18,7 +18,11 @@
"/unipay/usermenu.ui",
"/univer-office",
"/univer-office/**",
"/accounting/api/fetch_forex_rates.dspy"
"/accounting/api/fetch_forex_rates.dspy",
"/idfile",
"/idfile/**",
"/download",
"/download/**"
],
"logined": [
"/pipeline-sdlc",