mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
* Ensure trailing slash is handled correctly with middleware * update source modifying * undo extra change
12 lines
190 B
JavaScript
12 lines
190 B
JavaScript
export default function SSRPage(props) {
|
|
return <h1>{props.message}</h1>
|
|
}
|
|
|
|
export const getServerSideProps = (req) => {
|
|
return {
|
|
props: {
|
|
message: 'Hello World',
|
|
},
|
|
}
|
|
}
|