forked from MarseyWorld/MarseyWorld
master
parent
947fbc63f1
commit
14dc027592
|
@ -14,7 +14,7 @@ if "load_chat" in sys.argv:
|
|||
socketio = SocketIO(app, async_mode='gevent', cors_allowed_origins=[SITE_FULL])
|
||||
typing = []
|
||||
online = []
|
||||
messages = cache.get('chat')
|
||||
messages = cache.get('chat') or []
|
||||
|
||||
@app.get("/chat")
|
||||
@auth_required
|
||||
|
|
Loading…
Reference in New Issue