Updated server/server.py
This commit is contained in:
+3
-3
@@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user