vorburger commented on a change in pull request #1090:
URL: https://github.com/apache/fineract/pull/1090#discussion_r443108066



##########
File path: 
fineract-provider/src/main/java/org/apache/fineract/infrastructure/security/filter/TenantAwareTenantIdentifierFilter.java
##########
@@ -97,7 +97,7 @@ public void doFilter(final ServletRequest req, final 
ServletResponse res, final
 
             // allows for Cross-Origin
             // Requests (CORs) to be performed against the platform API.
-            response.setHeader("Access-Control-Allow-Origin", "*");
+            response.setHeader("Access-Control-Allow-Origin", 
"Fineract-Platform-TenantId");

Review comment:
       I don't think this is correct? But it's been YEARS since I've last dealt 
with CORS...




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to