fix(ui): add CUSTOM_ROUTER_PATH support in general settings

- Add CUSTOM_ROUTER_PATH field to UI configuration
  - Fix configuration preservation during save operations
This commit is contained in:
zoyopei
2025-08-24 19:52:14 +08:00
parent 9a5ea191f8
commit 7cc41d83cf
5 changed files with 26 additions and 4 deletions

View File

@@ -42,7 +42,9 @@
"port": "Port",
"apikey": "API Key",
"timeout": "API Timeout (ms)",
"proxy_url": "Proxy URL"
"proxy_url": "Proxy URL",
"custom_router_path": "Custom Router Script Path",
"custom_router_path_placeholder": "Enter absolute path to custom router script file"
},
"transformers": {
"title": "Custom Transformers",

View File

@@ -42,7 +42,9 @@
"port": "端口",
"apikey": "API 密钥",
"timeout": "API 超时时间 (毫秒)",
"proxy_url": "代理地址"
"proxy_url": "代理地址",
"custom_router_path": "自定义路由脚本路径",
"custom_router_path_placeholder": "输入自定义路由脚本文件的绝对路径"
},
"transformers": {
"title": "自定义转换器",