Skip to content

Commit

Permalink
adding vtt cors
Browse files Browse the repository at this point in the history
  • Loading branch information
glenrobson committed Apr 26, 2024
1 parent 556f65d commit 74c6f52
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,12 @@ location ^~ /api/ {
add_header 'Cache-Control' 'public, no-transform, max-age=2419200';
add_header "X-UA-Compatible" "IE=Edge,chrome=1";
}

location ~ \.vtt$ {
include conf.d/elasticbeanstalk/subfiles/iiif-website.conf;
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Cache-Control' 'public, no-transform, max-age=2419200';
add_header "X-UA-Compatible" "IE=Edge,chrome=1";
}
}
location =/apple-touch-icon-precomposed.png {
access_log off;
Expand Down

0 comments on commit 74c6f52

Please sign in to comment.