change port

This commit is contained in:
kaiyuran 2024-11-18 18:10:32 -05:00
parent d0d8761377
commit b8abf7f7d0

8
app.py
View file

@ -200,15 +200,11 @@ def emojify(message):
return final return final
app = Flask(__name__) app = Flask(__name__)
CORS(app) CORS(app)
if __name__ == "__main__": # if __name__ == "__main__":
app.run(port=5500) # app.run(port=5500)
@app.route('/getemoji', methods=['GET']) @app.route('/getemoji', methods=['GET'])
# @cross_origin() # @cross_origin()