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

Commit

Permalink
fix: pwa redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Nov 9, 2023
1 parent f42a68c commit e4c630d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/pwa.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Pwa() {
const installedFrom = localStorage["installedFrom"];
if (typeof window !== "undefined" && window.localStorage) {
if (installedFrom) {
router.push(`/${installedFrom}`);
router.push(installedFrom);
} else {
router.push("/");
}
Expand Down

0 comments on commit e4c630d

Please sign in to comment.