Update ffplayout.conf

This commit is contained in:
jb-alvarado 2020-05-07 17:28:23 +02:00 committed by GitHub
parent 9162c2402f
commit f5ba8bb4a0

View File

@ -41,7 +41,7 @@ server {
} }
location ~ ^/(api|admin) { location ~ ^/(api|admin|auth|api-auth) {
if ($http_origin ~ '^https?://(localhost|ffplayout\.local|ffplayout)') { if ($http_origin ~ '^https?://(localhost|ffplayout\.local|ffplayout)') {
add_header 'Access-Control-Allow-Origin' "$http_origin" always; add_header 'Access-Control-Allow-Origin' "$http_origin" always;
add_header 'Access-Control-Allow-Credentials' 'true' always; add_header 'Access-Control-Allow-Credentials' 'true' always;