mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-26 15:59:20 +08:00
WIP
This commit is contained in:
parent
a4a5267b9c
commit
1a30974cb7
1 changed files with 3 additions and 2 deletions
|
@ -7,7 +7,7 @@ import os
|
|||
from get_args import args
|
||||
from config import base_url
|
||||
|
||||
socketio = SocketIO(async_mode='threading')
|
||||
socketio = SocketIO()
|
||||
|
||||
|
||||
def create_app():
|
||||
|
@ -42,7 +42,8 @@ def create_app():
|
|||
return redirect(url_for('series'), code=302)
|
||||
return render_template('404.html'), 404
|
||||
|
||||
socketio.init_app(app, path=base_url.rstrip('/')+'/socket.io', cors_allowed_origins='*')
|
||||
socketio.init_app(app, path=base_url.rstrip('/')+'/socket.io', cors_allowed_origins='*', async_mode='threading',
|
||||
manage_session=False)
|
||||
return app
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue