Skip to content

Commit

Permalink
Add Access-Control-Allow-Origin for subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neto committed Jan 9, 2025
1 parent 851bd15 commit 6e634a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Options All -Indexes
<IfModule mod_headers.c>

# Set Access-Control-Allow-Origin for multiple file types
<FilesMatch "\.(php|ico|pdf|flv|jpg|jpeg|png|gif|swf|ts|webp|mp3|mp4|woff2|css|html|htm|key|m3u8)$">
<FilesMatch "\.(php|ico|pdf|flv|jpg|jpeg|png|gif|swf|ts|webp|mp3|mp4|woff2|css|html|htm|key|m3u8|vtt|srt)$">
Header setifempty Access-Control-Allow-Origin "*"
</FilesMatch>

Expand Down

0 comments on commit 6e634a5

Please sign in to comment.