spb/chat-spboucher-ai
Public
1import type { NextConfig } from "next";23const nextConfig: NextConfig = {4 reactStrictMode: true,5 poweredByHeader: false,6 output: "standalone",7 serverExternalPackages: ["pdf-parse", "mammoth", "xlsx", "@node-rs/argon2", "postgres"],8 experimental: { serverActions: { bodySizeLimit: "60mb" } },9 async headers() {10 return [{ source: "/(.*)", headers: [11 { key: "X-Frame-Options", value: "DENY" }, { key: "X-Content-Type-Options", value: "nosniff" }, { key: "Referrer-Policy", value: "strict-origin-when-cross-origin" },12 { key: "Permissions-Policy", value: "camera=(), geolocation=(), microphone=(self)" },13 ] }];14 },15};1617export default nextConfig;18