From 8484ba1c2e992313016c53c389fe968fdd584229 Mon Sep 17 00:00:00 2001 From: underpostnet Date: Tue, 5 Nov 2024 21:22:48 +0000 Subject: [PATCH] Update github repo package --- src/client/ssr/pages/offline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/ssr/pages/offline.js b/src/client/ssr/pages/offline.js index 050837d..1a38ef8 100644 --- a/src/client/ssr/pages/offline.js +++ b/src/client/ssr/pages/offline.js @@ -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 })}`);