fix(account): default backend api base url

This commit is contained in:
2026-05-18 22:21:18 +08:00
parent 881aceb78c
commit c24c88458c
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -72,6 +72,7 @@ describe("account shared types", () => {
};
expect(typeof SPARK_BACKEND_BASE_URL).toBe("string");
expect(SPARK_BACKEND_BASE_URL).toMatch(/^https?:\/\//);
expect(FLARUM_BASE_URL).toContain("bbs.spark-app.store");
expect(FLARUM_REGISTER_URL).toContain("register");
expect(user.forumGroups).toEqual(["管理员"]);