aa0ba3c30a
Co-authored-by: Jiachi Liu <inbox@huozhi.im> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
26 lines
384 B
JavaScript
26 lines
384 B
JavaScript
import Runtime from '../utils/runtime'
|
|
import Time from '../utils/time'
|
|
|
|
export default function Page({ type }) {
|
|
return (
|
|
<div>
|
|
This is a {type} page.
|
|
<br />
|
|
<Runtime />
|
|
<br />
|
|
<Time />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export function getServerSideProps() {
|
|
return {
|
|
props: {
|
|
type: 'SSR',
|
|
},
|
|
}
|
|
}
|
|
|
|
export const config = {
|
|
runtime: 'nodejs',
|
|
}
|