1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/akkoma_ynh.git synced 2024-09-03 20:36:17 +02:00

Fix script injection

See https://poa.st/notice/AW21NSFdXhFPb2Zzai
This commit is contained in:
lapineige 2023-05-26 09:36:33 +02:00 committed by GitHub
parent 3c9a90df4d
commit 8d12a4d831
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,3 +35,7 @@ location / {
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
location ~ ^/media {
add_header Content-Security-Policy "script-src 'none';";
}