Revert "trying other ports"

This reverts commit d0d8761377.
This commit is contained in:
kaiyuran 2024-11-19 13:21:49 -05:00
parent af4c33a21b
commit 66b64f4275
2 changed files with 0 additions and 18 deletions

3
app.py
View file

@ -207,9 +207,6 @@ def emojify(message):
app = Flask(__name__) app = Flask(__name__)
CORS(app) CORS(app)
if __name__ == "__main__":
app.run(port=5500)
@app.route('/getemoji', methods=['GET']) @app.route('/getemoji', methods=['GET'])
# @cross_origin() # @cross_origin()
def get_random_emoji(): def get_random_emoji():

View file

@ -1,15 +0,0 @@
with import <nixpkgs> {};
mkShell {
buildInputs = [
python3
python3Packages.flask
python3Packages.flask-cors
python3Packages.gunicorn
];
shellHook = ''
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
'';
}