Skip to content

Commit

Permalink
Add CORS headers to Demo server
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 26, 2024
1 parent 641f788 commit 59eef1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions demo/nginx-app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ server {
client_max_body_size 4G;

location /data {
add_header 'Access-Control-Allow-Origin' '*' always;

alias /home/docker/data;
autoindex on;
}
Expand Down

0 comments on commit 59eef1f

Please sign in to comment.