1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat: updated CSP policy

This commit is contained in:
2024-08-21 14:24:46 +00:00
parent 4d1662b6ee
commit 9800a796d5
2 changed files with 45 additions and 25 deletions
-25
View File
@@ -1,25 +0,0 @@
// @ts-check
/** @type {import("next").NextConfig} */
const nextConfig = {
output: "standalone",
reactStrictMode: true,
productionBrowserSourceMaps: true,
async headers()
{
return [
{
source: "/(.*)",
headers:
[
{
key: "Content-Security-Policy",
value: "default-src 'self' https://*.clarity.ms https://c.bing.com 'unsafe-inline';"
}
]
}
];
}
};
export default nextConfig;