修复未登录时 API 返回 HTML 导致期权链 JSON 解析失败。

API 统一返回 401 JSON,并改进前端非 JSON 错误提示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-01 11:51:13 +08:00
parent ed9fd05a84
commit e7a4934068
3 changed files with 25 additions and 2 deletions
+1 -1
View File
@@ -355,4 +355,4 @@
</div>
</div>
<script src="/static/options_expiry_countdown.js?v=1"></script>
<script src="/static/options_panel.js?v=65"></script>
<script src="/static/options_panel.js?v=66"></script>