Skip to content

Commit

Permalink
Redirect #resetpw links to legacy tool
Browse files Browse the repository at this point in the history
  • Loading branch information
underbluewaters committed Aug 10, 2023
1 parent a4c8ab4 commit 31a295e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link href="/fonts.css" rel="stylesheet" />
<title>SeaSketch</title>
<script>
if (window.location.hash && /#projecthomepage|#dashboard/.test(window.location.hash)) {
if (window.location.hash && /#projecthomepage|#dashboard|#resetpw/.test(window.location.hash)) {
console.log('redirecting to legacy.seasketch.org')
window.location = `https://legacy.seasketch.org/${window.location.hash}`;
}
Expand Down

0 comments on commit 31a295e

Please sign in to comment.