You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a decoupled architecture it can be challenging to support testing without proper CORS configuration in both the frontend application and the Elastic instance.
Can we consider adding http.core config to the compose file? e.g. environment: - "http.cors.allow-origin=*" - "http.cors.enabled=true" - "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization,Access-Control-Allow-Origin,Access-Control-Request-Headers" - "http.cors.allow-credentials=true" - "http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE"
Or alternatively, maybe a simple README update on how to override this if needed, similar to the memory note that is already in place.
The text was updated successfully, but these errors were encountered:
Thanks @rfay ! Drafted the initial PR: #19
As this is my first contribution I want to spend some time reviewing the tests, documentation as well.
If anything stands out right away please let me know!
With a decoupled architecture it can be challenging to support testing without proper CORS configuration in both the frontend application and the Elastic instance.
Can we consider adding http.core config to the compose file? e.g.
environment: - "http.cors.allow-origin=*" - "http.cors.enabled=true" - "http.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length,Authorization,Access-Control-Allow-Origin,Access-Control-Request-Headers" - "http.cors.allow-credentials=true" - "http.cors.allow-methods: OPTIONS, HEAD, GET, POST, PUT, DELETE"
Or alternatively, maybe a simple README update on how to override this if needed, similar to the memory note that is already in place.
The text was updated successfully, but these errors were encountered: