Browse Source

Habilita acesso cross-domain na API

pull/3459/head
Edward Ribeiro 3 years ago
parent
commit
c4720db576
  1. 4
      docker/config/nginx/sapl.conf

4
docker/config/nginx/sapl.conf

@ -11,6 +11,10 @@ server {
client_max_body_size 4G; client_max_body_size 4G;
location /api/ {
add_header 'Access-Control-Allow-Origin' '*';
}
location /static/ { location /static/ {
alias /var/interlegis/sapl/collected_static/; alias /var/interlegis/sapl/collected_static/;
} }

Loading…
Cancel
Save