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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user