1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/digitranscode_ynh.git synced 2024-09-03 18:25:59 +02:00

Change add_header to more_set_headers

This commit is contained in:
Melchisedech 2022-11-04 01:47:54 +01:00 committed by GitHub
parent 5374d64ed6
commit 6f47432e8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,6 +27,5 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc; include conf.d/yunohost_panel.conf.inc;
# Needed part because the app uses SharedArrayBuffer # Needed part because the app uses SharedArrayBuffer
add_header 'Cross-Origin-Embedder-Policy' 'require-corp'; more_set_headers "Cross-Origin-Embedder-Policy: require-corp" "Cross-Origin-Opener-Policy: same-origin";
add_header 'Cross-Origin-Opener-Policy' 'same-origin';
} }