master
Aevann1 2022-03-22 15:54:17 +02:00
parent 13d78b4009
commit 7bc8480015
1 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,7 @@
from files.helpers.const import SITE
if SITE != 'rdrama.net':
if SITE in ('pcmemes.net', 'localhost'):
import time
from files.helpers.wrappers import auth_required
from files.helpers.sanitize import sanitize
from datetime import datetime
@ -9,14 +10,11 @@ if SITE != 'rdrama.net':
from flask import render_template
import sys
socketio = SocketIO(app)
socketio = SocketIO(app, async_mode='gevent')
typing = []
online = []
messages = []
if __name__ == '__main__':
socketio.run(app)
@app.get("/chat")
@auth_required
def chat( v):