Skip to content

Commit

Permalink
Hopefully fixed #6
Browse files Browse the repository at this point in the history
  • Loading branch information
berrysauce committed Feb 17, 2023
1 parent 12ba9e2 commit 6fb2cbe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion postoffice/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
localStorage.setItem("receivingEmail", receivingEmail)
if (reload) {
window.location.reload();
// use this instead of window.location.reload(); to avoid resending POST requests
// @ts-ignore
window.location = window.location.href;
}
}
Expand Down

0 comments on commit 6fb2cbe

Please sign in to comment.