Unverified Commit a6759c62 authored by Lukáš Huvar's avatar Lukáš Huvar Committed by GitHub

docs: fix missing comma in invalid redirect gssp (#18580)

Co-authored-by: 's avatarJoe Haddad <joe.haddad@zeit.co>
parent f742b6d9
......@@ -13,16 +13,16 @@ export const getStaticProps = ({ params }) => {
if (params.slug === 'deleted-post') {
return {
redirect: {
permanent: true // or false
destination: '/some-location'
}
permanent: true, // or false
destination: '/some-location',
},
}
}
return {
props: {
// data
}
},
}
}
```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment