From 8790133b2770aa34c0aadc7f0a6782d8e9a39ffa Mon Sep 17 00:00:00 2001 From: kaiyuran <73236245+kaiyuran@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:24:56 -0500 Subject: [PATCH] working --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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():