[annotator-dev] CORS Issue

Bill Hunt bill at krues8dr.com
Fri Oct 10 16:13:59 UTC 2014


Relatedly, I've documented in a bunch of tickets a few pieces of this, here are the most relevant few:

https://github.com/openannotation/annotator/issues/435
https://github.com/openannotation/annotator-store/issues/99
https://github.com/openannotation/annotator/pull/436#discussion_r17759899

TLDR: The store needs to be run to broadcast, and I found I had to manually tell jQuery to use CORS support for IE - but Nick and I haven't really solved that last issue and it's still open.

Cheers,
-Bill


Bill Hunt
krues8dr.com
Ph: 20-BILL-HUNT
       202 455 4868

On Oct 10, 2014, at 12:12 PM, Robert Sanderson <azaroth42 at gmail.com> wrote:

> 
> This:  http://enable-cors.org/
> 
> Or, TL;DR ... add a header to the response: Access-Control-Allow-Origin: *
> 
> Rob
> 
> 
> On Fri, Oct 10, 2014 at 9:06 AM, Tim Casling <tcas at burwil.co.uk> wrote:
> Hi
> 
> I have set up an environment that uses apache to serve pages and an annotator Flask reference store on the same machine as the apache server.  When I access a page and the page tries to access the remote resource (annotator on :5000) to pull annotations from the store, i get a cross-origin blocked issue.
> 
> Any suggestions as to how I get around this? 
> 
> Thanks
> Tim
> 
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
> 
> 
> 
> 
> -- 
> Rob Sanderson
> Technology Collaboration Facilitator
> Digital Library Systems and Services
> Stanford, CA 94305
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20141010/9ae031e3/attachment-0004.html>


More information about the annotator-dev mailing list