mirror of
https://github.com/XFox111/my-website.git
synced 2026-04-22 07:28:01 +03:00
!feat: added Cloudflare Turnstile captcha to the contact form
feat: added contact form disclaimer
This commit is contained in:
+4
-2
@@ -23,8 +23,8 @@ const nextConfig = {
|
||||
contentSecurityPolicy:
|
||||
{
|
||||
"script-src": isDev ?
|
||||
"'self' 'unsafe-inline' https://*.clarity.ms https://c.bing.com 'unsafe-eval'" :
|
||||
"'self' 'unsafe-inline' https://*.clarity.ms https://c.bing.com",
|
||||
"'self' 'unsafe-inline' https://*.clarity.ms https://c.bing.com https://*.cloudflare.com 'unsafe-eval'" :
|
||||
"'self' 'unsafe-inline' https://*.clarity.ms https://c.bing.com https://*.cloudflare.com",
|
||||
|
||||
"connect-src": isDev ?
|
||||
"'self' https://*.clarity.ms https://c.bing.com webpack://*" :
|
||||
@@ -32,6 +32,8 @@ const nextConfig = {
|
||||
|
||||
"style-src": "'self' 'unsafe-inline'",
|
||||
|
||||
"frame-src": "https://*.cloudflare.com 'none'",
|
||||
|
||||
// @ts-ignore
|
||||
"prefetch-src": false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user