Files
AstrBot/dashboard
LIghtJUNction 3f1a14836f fix(dashboard): auto-prepend https:// for backend URLs without protocol
Previously, a URL like api.lightjunction.online:3000 (without https://)
was stored as-is and treated as a relative path, causing requests to
hit the frontend origin instead of the configured backend. URLs with a
single slash like https:/api... were also incorrectly normalized.

Now normalizeConfiguredApiBaseUrl always prepends https:// if the input
doesn't start with http:// or https://, and apiStore.setApiBaseUrl also
normalizes before storing to keep state and localStorage consistent.
2026-04-08 21:18:16 +08:00
..
2026-03-30 00:48:07 +08:00
2026-03-18 20:12:22 +08:00
2026-03-30 00:48:07 +08:00
2026-02-27 22:03:17 +08:00
2026-03-18 20:12:22 +08:00
2026-04-04 19:26:58 +08:00

AstrBot 管理面板

基于 CodedThemes/Berry 模板开发。

环境变量

  • VITE_ASTRBOT_RELEASE_BASE_URL(可选)
    • 默认值:https://github.com/AstrBotDevs/AstrBot/releases
    • 用途:管理面板内“更新到最新版本”外部跳转所使用的 release 基地址。集成方可按需覆盖(例如 Desktop 指向其自身发布页)。
    • 建议传入仓库的 .../releases 基地址(不带 /latest)。