SPB Git forge

spb/immbot-ai

Public
1commits 1branches 0releases
1.5 MBsize
maindefault branch
20 days agolast push
TypeScript 98.3% CSS 0.9% Shell 0.7%
595 B · 19 lines typescript
Raw Blame History
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