16590f7606
This adds additional checks against the routeKeys used to build the named regexes for dynamic routes to ensure they follow PCRE rules for named capture groups x-ref: https://github.com/vercel/vercel/pull/4813
13 lines
222 B
JavaScript
13 lines
222 B
JavaScript
export const getServerSideProps = ({ params }) => {
|
|
console.log({ params })
|
|
|
|
return {
|
|
props: {
|
|
params,
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function Page(props) {
|
|
return <p id="props">{JSON.stringify(props)}</p>
|
|
}
|