修复中控探测客户端版本时非 JSON 响应抛出 Expecting value,改为可读错误提示。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-04 09:48:05 +08:00
parent fab49f8911
commit 706601416b
2 changed files with 44 additions and 16 deletions
+1 -1
View File
@@ -183,7 +183,7 @@
{% endblock %}
{% block scripts %}
<script src="{{ url_for('static', filename='settings_backup.js') }}?v=2"></script>
<script src="{{ url_for('static', filename='settings_update.js') }}?v=3"></script>
<script src="{{ url_for('static', filename='settings_update.js') }}?v=4"></script>
<script>
HubSettingsBackup.boot();
HubSettingsUpdate.boot();