env for host and port

This commit is contained in:
Andrew Gundersen 2021-02-18 12:17:29 -06:00
commit 926b61435d

View file

@ -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):