Skip to content

Commit

Permalink
Instant redirect for history redirect using js
Browse files Browse the repository at this point in the history
  • Loading branch information
cofob committed May 14, 2024
1 parent b0d5398 commit 7c2934d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/history_redirect.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<meta http-equiv="refresh" content="1; url={{ path }}">
<script>
history.pushState({ page: 1 }, "Fastside Redirect");
window.location.href = "{{ path }}";
</script>
</head>

Expand Down

0 comments on commit 7c2934d

Please sign in to comment.