Skip to content

Commit

Permalink
test console log
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Jan 12, 2024
1 parent 057c639 commit 021caca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function MyApp({
process.env.VERCEL_URL &&
typeof window !== "undefined"
) {
console.log(process.env.VERCEL_URL);
if (process.env.VERCEL_URL !== window.location.hostname) {
router.replace(`https://${process.env.VERCEL_URL}`);
}
Expand Down

0 comments on commit 021caca

Please sign in to comment.