Files
JJ KasperandGitHub 16590f7606 Make sure routeKeys are PCRE compliant (#14987)
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
2020-07-08 18:45:53 +00:00

14 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>
}