Fix control unauthorized: map strategy 401 to 502 and keep fleet headers on redirect.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-07-30 10:57:06 +08:00
parent da5eb4c18c
commit 08fe06d074
5 changed files with 59 additions and 22 deletions
+8 -1
View File
@@ -160,9 +160,16 @@ export default function MonitorPage() {
</div>
<div>
<dt>Token</dt>
<dd>{n.token_configured ? "已配对" : "未配对"}</dd>
<dd>
{n.token_configured
? n.fleet_ok === false
? "配对失败"
: "已配对"
: "未配对"}
</dd>
</div>
</dl>
{n.fleet_error ? <div className="err soft">{n.fleet_error}</div> : null}
{n.error ? <div className="err soft">{n.error}</div> : null}
<div className="node-actions">
<button