websocket fix
This commit is contained in:
@@ -52,4 +52,9 @@ init_admin()
|
||||
|
||||
# Start the application
|
||||
echo "Starting application..."
|
||||
exec gunicorn --worker-class sync -w 1 --bind 0.0.0.0:5000 app:app
|
||||
exec python3 -c "
|
||||
from app import create_app
|
||||
from extensions import socketio
|
||||
app = create_app()
|
||||
socketio.run(app, host='0.0.0.0', port=5000, debug=False, use_reloader=False)
|
||||
"
|
||||
Reference in New Issue
Block a user