diff --git a/views/web_views.py b/views/web_views.py index efbc2b5d2f..8ed37cc05f 100644 --- a/views/web_views.py +++ b/views/web_views.py @@ -6,7 +6,7 @@ import calendar import random -from flask_cors import CORS, cross_origin +from flask_cors import cross_origin from app import app from database import db, db_models @@ -45,7 +45,6 @@ # Translation: change path of messages.mo files app.config["BABEL_TRANSLATION_DIRECTORIES"] = "../translations" babel = Babel(app) -cors = CORS(app) app.config['CORS_HEADERS'] = 'Content-Type' recaptcha = ReCaptcha(app=app)