mirror of
https://github.com/skidoodle/albert.lol.git
synced 2025-02-15 06:09:15 +01:00
single quotes
This commit is contained in:
parent
9b88d48431
commit
5076ed4efb
10 changed files with 62 additions and 107 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue