From 02c692f75eeaebe0fccf4b3168f15281566c559e Mon Sep 17 00:00:00 2001 From: Matheus Mota Date: Sun, 12 May 2019 00:01:51 -0300 Subject: [PATCH] import cors --- src/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.py b/src/server.py index 99ae244..5bc01fb 100644 --- a/src/server.py +++ b/src/server.py @@ -7,7 +7,7 @@ from flask import Flask, request, jsonify from flask_restful import Resource, Api from config import Config -from flask_cors import CORS +from flask_cors import CORS, cross_origin class IndexResource(Resource):