From 66b64f42750cc2eee66efb17348f5eb2118b56cc Mon Sep 17 00:00:00 2001 From: kaiyuran <73236245+kaiyuran@users.noreply.github.com> Date: Tue, 19 Nov 2024 13:21:49 -0500 Subject: [PATCH] Revert "trying other ports" This reverts commit d0d87613774488f0bb2d377480979b19519f52a7. --- app.py | 3 --- shell.nix | 15 --------------- 2 files changed, 18 deletions(-) delete mode 100644 shell.nix diff --git a/app.py b/app.py index 8ad838a..b8e340c 100644 --- a/app.py +++ b/app.py @@ -207,9 +207,6 @@ def emojify(message): app = Flask(__name__) CORS(app) -if __name__ == "__main__": - app.run(port=5500) - @app.route('/getemoji', methods=['GET']) # @cross_origin() def get_random_emoji(): diff --git a/shell.nix b/shell.nix deleted file mode 100644 index 56d6f2f..0000000 --- a/shell.nix +++ /dev/null @@ -1,15 +0,0 @@ -with import {}; - -mkShell { - buildInputs = [ - python3 - python3Packages.flask - python3Packages.flask-cors - python3Packages.gunicorn - ]; - - shellHook = '' - export LANG=C.UTF-8 - export LC_ALL=C.UTF-8 - ''; -} \ No newline at end of file