changeset 108 | 082b64a5c699 |
parent 42 | 926f0426ce78 |
--- a/annot-server/webapp/__init__.py Thu Jan 22 03:23:08 2015 +0100 +++ b/annot-server/webapp/__init__.py Thu Jan 22 07:04:42 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