Next.js Discord

Discord Forum

Help with SSR prod vs localhost

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Avatar
Polar bearOP
I tried to implement getServerSideProps to my Next.js (t3) app and it works perfectly fine when I run it locally (npm run dev) but when it gets deployed on Vercel, it cannot get userInfo and sessionInfo. I am new to SSR and I am completely lost on how to fix this.
Image
Image
Image

0 Replies