Zipkin: Enable CORS for zipkin-server

Created on 16 Jun 2016  路  2Comments  路  Source: openzipkin/zipkin

Enabling CORS headers (Access-Control-Allow-Origin: *) in the Zipkin query API will allow API access from UI applications running on different hosts, which seems very useful. Is there a reason not to enable this by default?

enhancement server

Most helpful comment

Sounds fine to me.. implementation would be to add @CrossOrigin onto ZipkinQueryApiV1

@gena01 @marcingrzejszczak @shakuzen unless you know a reason not to, let's make this change

All 2 comments

+1
No reason, except nobody has made a PR yet :wink:

Sounds fine to me.. implementation would be to add @CrossOrigin onto ZipkinQueryApiV1

@gena01 @marcingrzejszczak @shakuzen unless you know a reason not to, let's make this change

Was this page helpful?
0 / 5 - 0 ratings