Skip to content

Commit

Permalink
Redirect #/privacynotice to /privacy on index view
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-yau-ttd committed Oct 4, 2023
1 parent 6bd1534 commit 9bdc660
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions views_euid/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@
<img class='main__logo' src='/images/EUID.png' />
</div>
</div>
<script>
window.onload = function () {
if (window.location.href.includes('#/privacynotice')) {
window.location.href = '/privacy';
}
};
</script>
</body>

</html>

0 comments on commit 9bdc660

Please sign in to comment.