| changeset 112 | 3e075a48e19e |
| parent 108 | 082b64a5c699 |
--- a/annot-server/webapp/__init__.py Thu Jan 22 09:26:43 2015 +0100 +++ b/annot-server/webapp/__init__.py Thu Jan 22 09:29:49 2015 +0100 @@ -6,7 +6,9 @@ import uuid import json + from flask import Flask +from flask.ext.cors import CORS import config import database @@ -15,6 +17,7 @@ app.secret_key = str(uuid.uuid4()) app.debug = config.DEBUG app.config.from_object(config) +CORS(app) import webapp.views import webapp.api