Closed isc-rsingh closed 10 months ago
I have Atlas installed at: http://clinicalresearch.intersystems.com:8081/atlas/
You can see this error when accessing: Access to fetch at 'http://107.22.127.201:8080/WebAPI/i18n/locales' from origin 'http://clinicalresearch.intersystems.com:8081' has been blocked by CORS policy: Request header field action-location is not allowed by Access-Control-Allow-Headers in preflight response.
I have modified webapi/pom.xml to disable CORS, changing lines 159 and 160 to:
<security.cors.enabled>false</security.cors.enabled> <security.origin>*</security.origin>
Any idea why this happens? Is the action-location header needed?
I have Atlas installed at: http://clinicalresearch.intersystems.com:8081/atlas/
You can see this error when accessing: Access to fetch at 'http://107.22.127.201:8080/WebAPI/i18n/locales' from origin 'http://clinicalresearch.intersystems.com:8081' has been blocked by CORS policy: Request header field action-location is not allowed by Access-Control-Allow-Headers in preflight response.
I have modified webapi/pom.xml to disable CORS, changing lines 159 and 160 to:
Any idea why this happens? Is the action-location header needed?