nixos/middleman: Fix broken Element Web file downloads

This commit is contained in:
Jack O'Sullivan 2022-11-18 11:52:20 +00:00
parent 60dcad1390
commit 950bcb3055

View File

@ -181,7 +181,8 @@ in
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Content-Security-Policy "frame-ancestors 'none'";
# This seems to break file downloads...
#add_header Content-Security-Policy "frame-ancestors 'none'";
'';
in
{