diff --git a/app.py b/app.py index da7e3f9..74b0a03 100644 --- a/app.py +++ b/app.py @@ -1,4 +1,5 @@ from flask import Flask, request, jsonify +from flask_cors import CORS import random def emojify(message): @@ -204,7 +205,7 @@ def emojify(message): app = Flask(__name__) - +CORS(app) @app.route('/getemoji', methods=['GET']) def get_random_emoji():