Files
NapCatQQ/packages/napcat-webui-frontend
手瓜一十雪 f9764c9559 Improve new-device QR handling and bypass init
Refactor new-device QR flow and streamline bypass init:

- napcat-shell: stop verbose logging and removed check of enableAllBypasses return value; just invoke native enableAllBypasses when not disabled by env.
- backend (QQLogin): simplify extraction of tokens from jumpUrl (use sig and uin-token), return an error if missing, and send oidbRequest directly (removed nested try/catch and regex fallback).
- frontend (new_device_verify): accept result.str_url without requiring bytes_token and pass an empty string to polling when bytes_token is absent.
- frontend (password_login): change render order to show captcha modal before new-device verification UI.
- frontend (qq_manager): normalize GetNewDeviceQRCode response — derive bytes_token from str_url's str_url query param (base64) when bytes_token is missing, and preserve extra status/error fields in the returned object.

These changes improve robustness when OIDB responses omit bytes_token, reduce noisy logs, and ensure the UI and polling still function.
2026-02-21 13:24:56 +08:00
..
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00
2025-11-13 15:39:42 +08:00

NapCat WebUI

功能

  • WebUI登录
  • QQ登录
  • 网络配置
  • OneBot/WebUI配置
  • 日志查看(实时日志、历史日志)
  • HTTP调试
  • WS调试
  • 在线音乐播放器,支持网易云音乐歌单(大屏在页面右下角,小屏在页面下方)

如果你有更多功能需求,欢迎在 issue 中提出。

License

MIT

Related Projects

Thanks to

感谢群友“维拉”提供的在线音乐API。