Files
Webserver/next.config.ts

34 lines
821 B
TypeScript
Raw Normal View History

2026-02-06 14:10:59 -05:00
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
2026-02-07 20:17:46 -05:00
output: "standalone",
2026-02-06 14:10:59 -05:00
/* config options here */
2026-02-07 20:17:46 -05:00
headers: async () => {
return [
{
source: '/:path*',
headers: [
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'Content-Security-Policy',
value: "default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self' data:;",
},
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'Referrer-Policy',
value: 'strict-origin-when-cross-origin',
},
],
},
];
},
2026-02-06 14:10:59 -05:00
};
export default nextConfig;