Skip to content

Commit

Permalink
fix: add content security policy
Browse files Browse the repository at this point in the history
  • Loading branch information
abuaboud committed May 22, 2024
1 parent 7944880 commit b974057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/core/nginx.standard.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ http {
include /etc/nginx/mime.types;
client_max_body_size 4m;
add_header X-Frame-Options SAMEORIGIN always;
add_header Content-Security-Policy "frame-ancestors 'self' http://localhost:*";

map $http_accept_language $accept_language {
~*^en en;
Expand Down

0 comments on commit b974057

Please sign in to comment.