Merge pull request #272 from multica-ai/feature/homepage-seo-optimization

feat(web): SEO optimization and auth flow improvements
This commit is contained in:
Naiyuan Qing 2026-04-01 17:11:14 +08:00 committed by GitHub
commit 421e0a2429
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 392 additions and 176 deletions

View file

@ -74,8 +74,8 @@ export class ApiClient {
localStorage.removeItem("multica_workspace_id");
this.token = null;
this.workspaceId = null;
if (window.location.pathname !== "/login") {
window.location.href = "/login";
if (window.location.pathname !== "/") {
window.location.href = "/";
}
}
}