Increasing strict
This commit is contained in:
parent
ea8921cd0e
commit
0e76f5fb65
1 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ const nextConfig = {
|
||||||
headers: async () => {
|
headers: async () => {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
source: '/(.*)',
|
source: '/:path*',
|
||||||
headers: [
|
headers: [
|
||||||
{
|
{
|
||||||
key: 'X-Frame-Options',
|
key: 'X-Frame-Options',
|
||||||
|
@ -18,7 +18,7 @@ const nextConfig = {
|
||||||
{
|
{
|
||||||
key: 'Content-Security-Policy',
|
key: 'Content-Security-Policy',
|
||||||
value:
|
value:
|
||||||
"default-src 'self'; script-src 'self'; font-src 'self' 'https://fonts.googleapis.com'"
|
"connect-src 'self' https://api.peerat.dev wss://api.peerat.dev; default-src 'self'; font-src 'self' https://fonts.gstatic.com; frame-ancestors 'none'; img-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; object-src 'none'; base-uri 'none'; form-action 'none'; frame-src 'none'; manifest-src 'self'; media-src 'self'; worker-src 'self'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'X-Content-Type-Options',
|
key: 'X-Content-Type-Options',
|
||||||
|
@ -26,7 +26,7 @@ const nextConfig = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'Permissions-Policy',
|
key: 'Permissions-Policy',
|
||||||
value: 'camera=(); battery=(); geolocation=(); microphone=()'
|
value: 'camera=(), battery=(), geolocation=(), microphone=(), browsing-topics=()'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'Referrer-Policy',
|
key: 'Referrer-Policy',
|
||||||
|
|
Loading…
Add table
Reference in a new issue