[InterMine Dev] CORS on flymine
colin.diesh at gmail.com
Wed Aug 19 16:13:16 BST 2015
I'm was actually trying this too and get pretty much the same thing on our
I think normally there should just be "Access-Control-Allow-Origin: *" but
it looks like in the intermine code there is this:
I am just speculating but should it not just return '*'? It seems like
however it is setup is causing "jsbin" to be set as the origin in the
"jsfiddle" tab or vice versa.
On Wed, Aug 19, 2015 at 6:14 AM, Yo Yehudi <yo at intermine.org> wrote:
> This is mostly for Julie when she gets back I think.
> CORS doesn't appear to be enabled properly on flymine. For a summary of
> the details and how to reproduce, look at this SO thread:
> Whilst the issue is a pain for devs, we know how to fix it (clear browser
> cache). Potentially, though, a user could encounter it, and the failure
> would be a much bigger problem as they'd be unlikely to look for errors in
> a dev console and know to delete their cache! :)
> The answerer on the SO thread thinks (as do I) it's probably the flymine
> server being grumpy and not permitting CORS.
> Assuming tomcat is serving the API requests, it doesn't look to hard to
> modify the config to enable CORS:
> If it's a different server it's (probably? hopefully?) similarly simple to
> enable, but in either case I'm not sure where to start or I'd try myself :)
> dev mailing list
> dev at intermine.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the dev