Skip to content

Commit

Permalink
Enable CORS on redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
WillB97 committed Mar 25, 2023
1 parent 9ada274 commit d78c6f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/compbox/templates/nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ server {
}

location = /stream {
add_header Access-Control-Allow-Origin *;
return 307 /stream/;
}
location /stream/ {
Expand Down

0 comments on commit d78c6f7

Please sign in to comment.