working ish wihotu cookies

This commit is contained in:
2026-01-27 23:03:31 -06:00
parent e06087e19f
commit bf59155c1e
8 changed files with 198 additions and 14 deletions

View File

@@ -1,7 +1,31 @@
import type { NextConfig } from "next";
import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
/* config options here */
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'X-XSS-Protection',
value: '1; mode=block',
},
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin',
},
],
},
];
},
};
export default nextConfig;
export default nextConfig;