single quotes

This commit is contained in:
skidoodle 2022-10-22 23:43:17 +02:00
parent 9b88d48431
commit 5076ed4efb
10 changed files with 62 additions and 107 deletions

View file

@ -1,39 +1,3 @@
const nextSafe = require("next-safe");
module.exports = {
async headers() {
return [
{
source: "/:path*",
headers: nextSafe({
contentTypeOptions: "nosniff",
contentSecurityPolicy: {
"base-uri": "'none'",
"child-src": "'none'",
"connect-src": "'self'",
"default-src": "'self'",
"font-src": "'self'",
"frame-src": "'none'",
"img-src": "'self'",
"frame-ancestors": "'none'",
"manifest-src": "'self'",
"media-src": "'self'",
"object-src": "'none'",
"prefetch-src": "'self'",
"script-src": "'self'",
"style-src": "'self'",
"worker-src": "'self'",
"form-action": "'self'",
reportOnly: false,
},
referrerPolicy: "same-origin",
xssProtection: "1; mode=block",
}),
},
];
},
};
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,