CORS configuration isnt working...Pls help #968
-
Hello, We have setup api and frontend containers on aws on two separate EC2 instances. We have used docker-compose.yml to configure both api and frontend containers. While frontend is able to be accessible but login doesnt seem to work properly. Browser logs indicate CORS issue. API however is able to communicate to requests from POSTMAN without any issue. Any one knows how to resolve this issue. Here is configuration from docker-compose.yml file for API. `version: '3.7' ##################################################### This Docker Compose file contains following servicesDependency-Track API Server##################################################### volumes: services:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Change
to
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods#directives |
Beta Was this translation helpful? Give feedback.
Change
to
See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods#directives