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])
|
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…
Reference in New Issue