in next.config.ts [38:54]
async headers() {
const headers = [
{
key: "Content-Security-Policy",
value: CSP,
},
];
if (!IS_DEV) {
headers.push({
key: "Strict-Transport-Security",
value: "max-age=31536000; includeSubDomains; preload",
});
}
return [{ source: "/(.*)", headers }];
},