Files
docs/next.config.mjs
2026-03-14 12:55:06 +01:00

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' },
],
},
]
},
})