From 9d8beda5cd6851a5ede0a5d0c0c6c60e53eb3445 Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Thu, 7 Dec 2023 19:22:40 +0300 Subject: [PATCH] Fix microservices.yml docker-compose stats cors issue --- docker-compose/proxy/microservices.conf.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose/proxy/microservices.conf.template b/docker-compose/proxy/microservices.conf.template index cf359913ca..708812f571 100644 --- a/docker-compose/proxy/microservices.conf.template +++ b/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;