⚡ Dynamic Portfolio Website built with Next.js, Chakra UI and Contentful!
218
stars
27
forks
source link
FetchError: request to http://localhost:3000/api/views/[BLOG_SLUG] failed, reason: connect ECONNREFUSED 127.0.0.1:3000 #12
Closed
mdrhmn closed 6 months ago
I faced the following error when deploying the project to Vercel:
I identified that the problem stems from /blogs/slugs.js:
Only by temporarily disabling the fetch call would I be able to deploy it successfully. Did some Googling and found the following posts:
Any idea on how to solve this?