Fix microservices.yml docker-compose stats cors issue

np-hf-account-watchlist
Viktor Baranov 12 months ago
parent 15ffea7ed2
commit 9d8beda5cd
  1. 2
      docker-compose/proxy/microservices.conf.template

@ -10,7 +10,7 @@ server {
proxy_http_version 1.1;
proxy_hide_header Access-Control-Allow-Origin;
proxy_hide_header Access-Control-Allow-Methods;
add_header 'Access-Control-Allow-Origin' 'http://localhost' always;
add_header 'Access-Control-Allow-Origin' 'http://localhost:3000' always;
add_header 'Access-Control-Allow-Credentials' 'true' always;
add_header 'Access-Control-Allow-Methods' 'PUT, GET, POST, OPTIONS, DELETE, PATCH' always;

Loading…
Cancel
Save