You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently added a domain to my Next.js app on Vercel. My old URL was foo-bar.vercel.app. And now it is nice.com (examples). I notice that my res.revalidate('/page') now is making a call to revalidate https://nice.com/page. And visting my old https://foo-bar.vercel.app/page is showing outdated info. Why is this? Shouldn't both domains point to the exact same resource/page? Do I have to make revalidate also revalidate my old domain?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I recently added a domain to my Next.js app on Vercel. My old URL was
foo-bar.vercel.app
. And now it isnice.com
(examples). I notice that myres.revalidate('/page')
now is making a call to revalidatehttps://nice.com/page
. And visting my oldhttps://foo-bar.vercel.app/page
is showing outdated info. Why is this? Shouldn't both domains point to the exact same resource/page? Do I have to makerevalidate
also revalidate my old domain?Beta Was this translation helpful? Give feedback.
All reactions