MCPcopy Create free account
hub / github.com/Superflows-AI/superflows / headers

Function headers

next.config.js:20–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18 reactStrictMode: true,
19 poweredByHeader: false,
20 async headers() {
21 return [
22 {
23 source: "/([^/]*?)", // Match all non-nested pages
24 headers: [{
25 key: "X-Content-Type-Options",
26 value: "nosniff",
27 },
28 {
29 key: "X-Frame-Options",
30 value: "deny"
31 },
32 {
33 key: "Content-Security-Policy",
34 value: "frame-ancestors 'none'"
35 }
36 ]
37 },
38 {
39 source: "/(.*?)", // Match all pages
40 headers: [{
41 key: "Strict-Transport-Security",
42 value: "max-age=31536000; includeSubDomains",
43 }]
44 },
45 {
46 source: "/api/(.*)", // All Serverless API endpoints (NOT Edge Functions)
47 headers: [{
48 key: "Cache-Control",
49 value: "no-store"
50 }],
51 },
52 {
53 source: "/api/v1/(.*)", // Public endpoints
54 // This enables calls to /api/v1 from users' domains
55 headers: headers,
56 },
57 ];
58 },
59};
60
61// Injected content via Sentry wizard below

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected