Web Developer
Works fine on local host but showing a white page for vercel
Votes
0
Replies
10
Participants
Unknown
Messages
11
Web Developer
Works fine on local host but showing a white page for vercel
Are you getting any errors?
Vercel should have logs they save in the vercel dashboard
Web Developer
No 404 errors in terminal no errors at all
have you setup your environment variables correctly in vercel?
I'm not talking about terminal, I believe vercel stops console logs from displaying in "production", but in the vercel dashboard in your project at the top of the page there is a logs tab, is there anything there?
I mean, 404 means the page is not found, are you sure it has anything to do with appwrite?
Web Developer
Yes I checked all those nothing I check those logs first
Web Developer
I think it's pointing to the wrong dir. My root on vercel is “/.” but the src is under my client folder
Sure if you've got a Client folder and all your nextjs app is in the client folder then you'll need to tell vercel that
Web Developer
I will try when I get back to my laptop thanks