adding vercel vitals to CSP
next.config.mjs
headers: async () => {
return [
{
source: "/(.*)",
headers: [
{
key: "Content-Security-Policy",
value: "default-src 'self'; img-src 'self' data: vitals.vercel-insights.com",
},
],
},
];
},
};
Is there a different way of adding this. When i refresh my page it bugs out.
0 Replies