Skip to content

Commit

Permalink
add iframe whitelist (#520)
Browse files Browse the repository at this point in the history
Co-authored-by: xieqian <[email protected]>
  • Loading branch information
naturexie and xieqian authored May 1, 2024
1 parent ad21fea commit 082499d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deploy/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ http {
if ($request_filename ~* ^.*?\.(html)$){
add_header Cache-Control no-store;
add_header Pragma no-cache;
add_header X-Frame-Options "SAMEORIGIN";
# add_header X-Frame-Options "SAMEORIGIN";
add_header Content-Security-Policy "frame-ancestors 'self' https://tgapp.herewallet.app";
}
}
# location ~ ^/[^/]+\.js$ {
Expand Down

0 comments on commit 082499d

Please sign in to comment.