Skip to content

Commit

Permalink
Update github repo package
Browse files Browse the repository at this point in the history
  • Loading branch information
underpostnet committed Nov 5, 2024
1 parent 6858593 commit 8484ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/ssr/pages/offline.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ window.onload = () =>
Worker.instance({
render: async () => {
window.ononline = async () => {
location.href = location.pathname;
location.href = location.origin;
};
window.onoffline = async () => {
htmls(`.page-render`, html`${await Alert.noInternet({ Translate })}`);
Expand Down

0 comments on commit 8484ba1

Please sign in to comment.