Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
move redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
atomicptr committed Dec 5, 2024
1 parent 9196461 commit 28857a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,9 @@ if ("serviceWorker" in navigator) {
log.debug("Service Worker needs update...");
updateSW(true).then(() => {
log.debug("Service Worker updated!");

// redirect to new site
window.location.href = "https://dauntless-builder.com";
});
},
onRegistered(registration) {
Expand Down Expand Up @@ -197,6 +200,3 @@ document.addEventListener("DOMContentLoaded", () => {
</StrictMode>,
);
});

// redirect to new site
window.location.href = "https://dauntless-builder.com";

0 comments on commit 28857a9

Please sign in to comment.