Sindbad~EG File Manager

Current Path : /home/numerotech/whatsapp.numerotech.com/whatsapp/
Upload File :
Current File : //home/numerotech/whatsapp.numerotech.com/whatsapp/wsgi.py

# from core import app
# if __name__ == '__main__':
# 	app.run(host='0.0.0.0',debug=True,port=5095)
	
	


# from core import socketio, app  # Import socketio

# if __name__ == '__main__':
#     socketio.run(app, host='0.0.0.0', debug=True, port=5096)
# wsgi.py
# from core import socketio, app  # Import your socketio instance and Flask app

# Expose the Flask app as a WSGI callable for production servers like Gunicorn.
# app = app

# if __name__ == '__main__':
	# For development: Run the Flask-SocketIO server.
# 	socketio.run(app, host='0.0.0.0', debug=True, port=5096)


# # Import socketio and Flask app from core
# from core import socketio, app  

# # Expose the Flask app as a WSGI callable for production servers like Gunicorn
# application = app

# if __name__ == '__main__':
# 	# Run Flask-SocketIO with Eventlet
# 	socketio.run(app, host='0.0.0.0', port=5096, debug=True)

# Import socketio and Flask app from core
from core import socketio, app  

# # Expose the Flask app as a WSGI callable for Passenger
# def application(environ, start_response):
# 	return app(environ, start_response)

if __name__ == "__main__":
	socketio.run(app, host="0.0.0.0", debug=True,port=5100)



# import eventlet
# eventlet.monkey_patch()  # Patch standard library for async support

# from core import app
# from flask_socketio import SocketIO

# # Initialize SocketIO with eventlet
# socketio = SocketIO(app, async_mode="eventlet")

# if __name__ == '__main__':
# 	socketio.run(app, host='0.0.0.0', port=5095, debug=True)


Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists