MCPcopy Create free account
hub / github.com/api-platform/website / headers

Function headers

pwa/next.config.mjs:144–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 dirs: ["app"],
143 },
144 async headers() {
145 return [
146 {
147 source: "/(.*)",
148 headers: [
149 {
150 key: "X-Frame-Options",
151 value: "DENY",
152 },
153 {
154 key: "X-Content-Type-Options",
155 value: "nosniff",
156 },
157 {
158 key: "Strict-Transport-Security",
159 value: "max-age=15724800; includeSubDomains; preload",
160 },
161 ],
162 },
163 ];
164 },
165 async redirects() {
166 return [
167 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected