next.js/test/e2e/app-dir/next-after-pages/pages/pages-dir/invalid-in-gssp.js
invalid-in-gssp.js16 lines331 B
import { after } from 'next/server'
import { cliLog } from '../../utils/log'

export async function getServerSideProps() {
  after(() => {
    cliLog({
      source: '[pages-dir] /pages-dir/invalid-in-gssp',
    })
  })
  return { props: {} }
}

export default function Page() {
  return <div>Invalid in getServerSideProps</div>
}
Quest for Codev2.0.0
/
SIGN IN