mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
16 lines
293 B
TypeScript
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',
|
|
}
|