Skip to content

Commit

Permalink
Merge pull request #975 from usegalaxy-eu/bgruening-patch-5
Browse files Browse the repository at this point in the history
add aviator to CORS
  • Loading branch information
bgruening authored Nov 1, 2023
2 parents e76a2c2 + 2c57fb7 commit 33990ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/nginx/galaxy-main.j2
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ server {
add_header X-Content-Type-Options nosniff;

# CORS
if ($http_origin ~ "^https?://(covid19map\.elixir-luxembourg\.org|www\.bx\.psu\.edu)$") {
if ($http_origin ~ "^https?://(covid19map\.elixir-luxembourg\.org|avivator\.gehlenborglab\.org|www\.bx\.psu\.edu)$") {
add_header Access-Control-Allow-Origin $http_origin;
add_header Access-Control-Allow-Methods 'GET';
add_header Access-Control-Expose-Headers 'Content-Length,Content-Range';
Expand Down

0 comments on commit 33990ba

Please sign in to comment.