Skip to content

Commit

Permalink
fix: redirect to correct domain login page
Browse files Browse the repository at this point in the history
  • Loading branch information
danji90 committed Jan 28, 2025
1 parent 870ceb0 commit 7496cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/LoginLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function LoginLink({ className = "", linkClassName = "" }) {
className={`${linkClassName} flex items-center gap-2`}
href={"/"}
onClick={() => {
window.location.href = `https://editor.mapset.ch/accounts/geops/login/authenticate/?next=https%3A%2F%2Feditor.mapset.${domain}`;
window.location.href = `https://editor.mapset.${domain}/accounts/geops/login/authenticate/?next=https%3A%2F%2Feditor.mapset.${domain}`;
}}
>
<LoginIcon /> {t("login")}
Expand Down

0 comments on commit 7496cac

Please sign in to comment.