mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
#94306 fixes this for pages, but middleware was still broken when deployed via adapters Coming from https://github.com/getsentry/sentry-javascript/issues/21713 Now the instrumentation test suite takes 11m to run in deployment mode though....
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
export default function Page({ finished }) {
|
|
return <h1>{`Page Node instrumentationFinished=${finished}`}</h1>
|
|
}
|
|
|
|
export async function getServerSideProps() {
|
|
return {
|
|
props: {
|
|
finished: globalThis.instrumentationFinished,
|
|
},
|
|
}
|
|
}
|