fd
This commit is contained in:
parent
711aed1807
commit
b328f4ea03
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ if "load_chat" in sys.argv:
|
||||||
socketio = SocketIO(app, async_mode='gevent', cors_allowed_origins=[SITE_FULL])
|
socketio = SocketIO(app, async_mode='gevent', cors_allowed_origins=[SITE_FULL])
|
||||||
typing = []
|
typing = []
|
||||||
online = []
|
online = []
|
||||||
messages = cache.get('chat')
|
messages = cache.get('chat') or []
|
||||||
|
|
||||||
@app.get("/chat")
|
@app.get("/chat")
|
||||||
@auth_required
|
@auth_required
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue