env for host and port
This commit is contained in:
parent
951ebdb4f5
commit
926b61435d
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue