Next js app throwing 404 error when deployed to vercel, even though it works fine on local

25 Views Asked by At

this is my project directoy, i have deployed my code to vercel, it works fine on local but dynamic pages shows 404 errors on vercel.

enter image description here

i added trailingSlash: true in next config but it still didnt work

0

There are 0 best solutions below