Skip to content

Commit

Permalink
Attempt different replacement logic
Browse files Browse the repository at this point in the history
  • Loading branch information
wmdietl committed Jul 7, 2024
1 parent 58fbd25 commit fd636cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ <h1>404</h1>

<script type="text/javascript">
if (location.pathname === '/cf/manual/') {
location.replace('/cf/manual/', '/cf/manual/manual.html');
location.replace(location.href.replace('/cf/manual/', '/cf/manual/manual.html'));
}
if (location.pathname === '/afu/') {
location.replace('/afu/', '/afu/annotation-file-utilities.html');
location.replace(location.href.replace('/afu/', '/afu/annotation-file-utilities.html'));
}
</script>

0 comments on commit fd636cb

Please sign in to comment.