Files
Niklas MischkulnigandGitHub 70165e9d59 Fix instrumentation hook awaiting for middleware with adapters (#95357)
#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....
2026-07-06 14:21:11 +02:00

13 lines
258 B
TypeScript

export default function Page() {
return (
<h1>
{`Page Node instrumentationFinished=${(globalThis as any).instrumentationFinished}`}
</h1>
)
}
// force dynamic rendering
export async function getServerSideProps() {
return { props: {} }
}