From 926b61435d7f53773515805c8ae4a53661b28af4 Mon Sep 17 00:00:00 2001 From: Andrew Gundersen Date: Thu, 18 Feb 2021 12:17:29 -0600 Subject: [PATCH] env for host and port --- server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index c7e4121..c069fc9 100644 --- a/server.py +++ b/server.py @@ -8,8 +8,8 @@ import websockets import typs import session -HOST = "localhost" -PORT = 8764 +HOST = os.getenv('HOST') +PORT = os.getenv('PORT') # Makes instance of a Messenger session for every client that connects. async def launch_session(crimata_id, connection): -- 2.43.0