mirror of
https://github.com/learnhouse/docs.git
synced 2026-11-28 16:58:38 +01:00
19 lines
363 B
JavaScript
19 lines
363 B
JavaScript
import nextra from 'nextra'
|
|
|
|
const withNextra = nextra({ search: true })
|
|
|
|
export default withNextra({
|
|
trailingSlash: false,
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: '/:path*',
|
|
headers: [
|
|
{ key: 'X-Content-Type-Options', value: 'nosniff' },
|
|
{ key: 'X-Frame-Options', value: 'DENY' },
|
|
],
|
|
},
|
|
]
|
|
},
|
|
})
|