Skip to content

Commit

Permalink
Merge pull request #475 from weni-ai/hermes-csp-fix
Browse files Browse the repository at this point in the history
[HS-379] Bug: Content-Security-Policy Missing Facebook Domain
  • Loading branch information
cristiantela authored Nov 1, 2024
2 parents 24d32cd + 659bf90 commit 1f00cbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ http {

server {
set $CSP_DEFAULT "default-src 'self' blob:";
set $CSP_SCRIPT "script-src 'self' 'unsafe-eval' 'unsafe-inline' www.googletagmanager.com accounts.google.com *.hotjar.com www.google-analytics.com cdn.logr-ingest.com";
set $CSP_SCRIPT "script-src 'self' 'unsafe-eval' 'unsafe-inline' www.googletagmanager.com accounts.google.com connect.facebook.net *.hotjar.com www.google-analytics.com cdn.logr-ingest.com";
set $CSP_STYLE "style-src 'self' 'unsafe-hashes' 'unsafe-inline' ilhasoft.com.br accounts.google.com fonts.googleapis.com";
set $CSP_FONT "font-src 'self' data: fonts.gstatic.com";
set $CSP_IMAGE "img-src 'self' data: blob: www.google-analytics.com www.google.com.br www.googletagmanager.com *.amazonaws.com https://tile.openstreetmap.org";
set $CSP_CONNECT "connect-src 'self' blob: *.weni.ai *.bothub.it www.google-analytics.com analytics.google.com *.hotjar.io wss://ws.hotjar.com https://cdn.plyr.io";
set $CSP_CONNECT "connect-src 'self' blob: *.weni.ai *.bothub.it accounts.google.com www.google-analytics.com analytics.google.com *.hotjar.io wss://ws.hotjar.com https://cdn.plyr.io";
set $CSP_FRAME_SRC "frame-src 'self' *.weni.ai https://td.doubleclick.net";
set $CSP_WORKER_SRC "worker-src data: blob:";
set $CSP_FRAME_ANCESTORS "frame-ancestors 'self' *.weni.ai";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weni-integrations",
"version": "2.2.8",
"version": "2.2.9",
"private": true,
"type": "module",
"scripts": {
Expand Down

0 comments on commit 1f00cbd

Please sign in to comment.