mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
* Make sure to not show pages/404 GIP error from _app having GIP * Add error for getStaticProps in pages/404 too * Add support for getStaticProps in pages/404 * Update test
7 lines
172 B
JavaScript
7 lines
172 B
JavaScript
export const getStaticProps = () => ({
|
|
props: { hello: 'world', random: Math.random() },
|
|
})
|
|
|
|
const page = ({ random }) => `custom 404 page ${random}`
|
|
export default page
|