feat: 在线取清单改为不走 DHT — 优先 torrent 缓存服务(HTTPS),回退 webtorrent 仅 http/wss tracker

This commit is contained in:
ice-a
2026-10-16 19:26:02 +08:00
parent 52dfa409eb
commit 1db061ecb6
4 changed files with 96 additions and 45 deletions
+2 -2
View File
@@ -323,8 +323,8 @@ onMounted(load)
<span :class="health?.mongo.ok ? 'ok' : 'err'">{{ health?.mongo.ok ? '已连接' : '未连接' }}</span>
</dd>
<dt>磁力解析</dt>
<dd :class="health?.webTorrent ? 'ok' : 'err'">
{{ health?.webTorrent ? 'webtorrent 可用,可通过 DHT/tracker 取文件清单' : 'webtorrent 不可用,磁力链只能显示 infoHash' }}
<dd :class="health?.webTorrent ? 'ok' : 'warn'">
{{ health?.webTorrent ? 'webtorrent 可用,可通过 DHT/tracker 取文件清单' : 'webtorrent 不可用,但通过 torrent 缓存服务在线取清单(不走 DHT)' }}
</dd>
<dt>搜索源</dt>
<dd class="mono small">{{ health?.providers?.map((p) => p.label).join(' / ') }}</dd>