✨新增本机IP查询(/my-ip,Network,免费):IPv4/IPv6+中文归属地+9地点延迟+网速测试;🔧文档翻译切换本地LibreTranslate引擎,修复NewAPI限流429;relay新增/my-ip与/ip-geo免费端点;nginx /relay/补X-Real-IP头
This commit is contained in:
1 parent
f4f1b373de
commit
fdcd1f8de8
12 files changed
+736
-3
No files matched your search
@@ -183,7 +183,7 @@ async function translateOne(job: any) {
|
||||
try {
|
||||
const fd = new FormData();
|
||||
fd.append('file', job.file);
|
||||
fd.append('to', langName(docTo.value));
|
||||
fd.append('to', docTo.value); // 传语言码,服务端本地引擎按码翻译(旧标签格式也兼容)
|
||||
// 单文件超时保护:超过 8 分钟视为失败
|
||||
const ctrl = new AbortController();
|
||||
const timer = setTimeout(() => ctrl.abort(), 8 * 60 * 1000);
|
||||
|
||||
Reference in new issue
Block a user