more cors updates
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Salar Rahmanian 2024-02-17 10:23:30 -08:00
parent f24eb27bef
commit 1b21827a49
2 changed files with 3 additions and 5 deletions

View file

@ -197,7 +197,7 @@ copyright = "© $CURRENT_YEAR $AUTHOR $SEPARATOR Unless otherwise noted, the con
allowed_domains = [ allowed_domains = [
{ directive = "font-src", domains = ["'self'", "data:"] }, { directive = "font-src", domains = ["'self'", "data:"] },
{ directive = "img-src", domains = ["'self'", "https://*", "data:"] }, { directive = "img-src", domains = ["'self'", "https://*", "data:"] },
{ directive = "script-src", domains = ["'self'", "https://comments.softinio.com/js/embed.min.js", "https://static.cloudflareinsights.com/beacon.min.js"] }, { directive = "script-src", domains = ["'self'", "https://comments.softinio.com/js/embed.min.js", "https://static.cloudflareinsights.com"] },
{ directive = "style-src", domains = ["'self'"] }, { directive = "style-src", domains = ["'self'"] },
{ directive = "frame-src", domains = ["player.vimeo.com", "https://www.youtube-nocookie.com", "https://watch.softinio.com", "https://notes.softinio.com/embed"] }, { directive = "frame-src", domains = ["player.vimeo.com", "https://www.youtube-nocookie.com", "https://watch.softinio.com", "https://notes.softinio.com/embed"] },
] ]

View file

@ -1,5 +1,3 @@
https://comments.softinio.com /*
Access-Control-Allow-Origin: https://comments.softinio.com Access-Control-Allow-Origin: https://www.softinio.com https://comments.softinio.com
https://www.softinio.com
Access-Control-Allow-Origin: https://www.softinio.com