Help with SSR prod vs localhost
Unanswered
Polar bear posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/2.png)
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](https://cdn.discordapp.com/attachments/1211131353823707136/1211131353999876136/image.png?ex=65ed14f8&is=65da9ff8&hm=1e3b1ca51d8ed9115612d8faa9b8d52a746c9f94ee8bf1215847236faed2cfdb&)
![Image](https://cdn.discordapp.com/attachments/1211131353823707136/1211131354209853511/image.png?ex=65ed14f8&is=65da9ff8&hm=57c6af18c06861fccedb053ca855740b40510d03d9df08808b7214a6cd7a7aaf&)
![Image](https://cdn.discordapp.com/attachments/1211131353823707136/1211131354419564594/image.png?ex=65ed14f8&is=65da9ff8&hm=569d3a8210b6de4882498125ac1c6d18aab69d76d43f156c6bb4af08a62df8a6&)