TypeScript 98.3%
CSS 0.9%
Shell 0.7%
1import type { NextConfig } from "next";23const securityHeaders = [4 { key: "X-Content-Type-Options", value: "nosniff" },5 { key: "X-Frame-Options", value: "DENY" },6 { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },7 { key: "Permissions-Policy", value: "camera=(), microphone=(), geolocation=()" },8];910const nextConfig: NextConfig = {11 serverExternalPackages: ["@huggingface/transformers"],12 outputFileTracingIncludes: { "/api/**": ["./prompts/**"] },13 async headers() {14 return [{ source: "/(.*)", headers: securityHeaders }];15 },16};1718export default nextConfig;19