Closed fransachmadhw closed 2 years ago
Where are you hosting your app?
Where are you hosting your app?
Vercel. Same as what he did in the video
For me is because i am statically exporting my app to my host provider and is behavior i expect.
For me is because i am statically exporting my app to my host provider and is behavior i expect.
So, does the problem come from my code? Or from vercel?
I have the same issue right now, did you figure out the solution?
I have the same issue right now, did you figure out the solution?
Not yet haha
return { props: { posts }, revalidate: 10 }; try this
return { props: { posts }, revalidate: 10 }; try this
It works like a charm. I just discovered what revalidate does in next.js docs too. Thanks in advance
@kutukmu which file should I add this? should I create a new file? which folder should I add it to?
@kutukmu which file should I add this? should I create a new file? which folder should I add it to?
On page/index.js
@kutukmu which file should I add this? should I create a new file? which folder should I add it to?
On page/index.js
still doesn't work for me,
@kutukmu which file should I add this? should I create a new file? which folder should I add it to?
On page/index.js
still doesn't work for me,
@JerwellSavella see my repository as a reference https://github.com/fransachmadhw/blogshot-clone
That post appears only in localhost. In deployed version, it doesn't. A bit weird, that post doesn't appear on the home page and category page. However, in featured post cards and recent posts, it does. Anyone knows how to fix it?