Skip to content

Commit

Permalink
add aviator to CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening authored Oct 31, 2023
1 parent e76a2c2 commit 2c57fb7
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 2c57fb7

Please sign in to comment.