Files
next.js/test/e2e/instrumentation-hook/with-async-edge-page/pages/index.tsx

16 lines
293 B
TypeScript

export default function Page({ finished }) {
return <p>{`Edge - finished: ${finished}`}</p>
}
export function getServerSideProps() {
return {
props: {
finished: Boolean(globalThis.instrumentationFinished),
},
}
}
export const config = {
runtime: 'experimental-edge',
}