Updated server/server.py
This commit is contained in:
parent
c0be21c0c7
commit
69919150ca
|
|
@ -8,11 +8,11 @@ app = Sanic("app")
|
||||||
app.config.OAS = False
|
app.config.OAS = False
|
||||||
|
|
||||||
# Message structure is:
|
# Message structure is:
|
||||||
# username: message
|
# [username: message, ...]
|
||||||
actual_messages: list[str] = []
|
actual_messages: list[str] = []
|
||||||
# Users structure is
|
# Users structure is
|
||||||
# Ip, Username: Public key
|
# {Ip, Username: Public key}
|
||||||
users = {}
|
users: dict[str, str] = {}
|
||||||
key = Fernet.generate_key()
|
key = Fernet.generate_key()
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user