From 75a5068ad59515ef848fbafdc8bad6c5bc0cc39e Mon Sep 17 00:00:00 2001 From: Sreejit-K Date: Tue, 5 Mar 2024 17:35:59 +0530 Subject: [PATCH] Added cors header for mock-donor-service --- imports/nginx.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imports/nginx.conf b/imports/nginx.conf index cbcd4075..012e738e 100644 --- a/imports/nginx.conf +++ b/imports/nginx.conf @@ -36,6 +36,8 @@ server { location /mock-donor-service/ { proxy_pass http://mock-donor-service:5001/; + # CORS headers + add_header 'Access-Control-Allow-Origin' '*'; }