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