Skip to content

Commit 7986b33

Browse files
authored
Add CORS headers to /opds location
Add CORS headers for OPDS endpoint
1 parent 01305b9 commit 7986b33

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docker/web_nginx.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,9 @@ server {
134134
}
135135

136136
location = /opds {
137+
add_header Access-Control-Allow-Origin "*" always;
138+
add_header Access-Control-Allow-Methods "GET, OPTIONS" always;
139+
add_header Access-Control-Allow-Headers "Content-Type" always;
137140
return 301 /opds/;
138141
}
139142

0 commit comments

Comments
 (0)