Closed arunoda closed 4 years ago
I have a simple blog app:
I have configured the getStaticPaths of the post page with following:
getStaticPaths
export async function getStaticPaths () { return { paths: [], fallback: false } }
Due to above, I expect to get 404 for blog posts. But they do give me correct static pages.
yarn build & yarn start
The blog post should give us 404.
https://www.youtube.com/watch?v=XqSqTwBa-N0
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Bug report
Describe the bug
I have a simple blog app:
I have configured the
getStaticPaths
of the post page with following:Due to above, I expect to get 404 for blog posts. But they do give me correct static pages.
To Reproduce
yarn build & yarn start
Expected behavior
The blog post should give us 404.
Demo Video
https://www.youtube.com/watch?v=XqSqTwBa-N0
System information