ga4gh-beacon / beacon-elixir

Elixir Beacon Reference Implementation. Latest release is compliant with v1.1.0 of the specification.
https://beacon-project.io/
Other
14 stars 7 forks source link

Allow all origins #17

Closed sdelatorrep closed 5 years ago

sdelatorrep commented 5 years ago

Current value is:

allowed.origins= http\://egasubmitter,http\://egamanager,http\://subtest.crg.eu,http\://swaggertest.crg.eu,https\://egatest.crg.eu

(https://github.com/ga4gh-beacon/beacon-elixir/blob/master/elixir_beacon/src/main/resources/META-INF/corsFilter.properties) but if you deploy the front-end in localhost you'll get a CORS error. Set the value to * so any origin is allowed. Also, consider moving this property to application-XX.properties if possible.