Made hot fixes
This commit is contained in:
parent
45d9b1d0fb
commit
995a19ac1c
@ -1,6 +1,8 @@
|
||||
import eventlet
|
||||
eventlet.monkey_patch(all=True)
|
||||
|
||||
import eventlet.wsgi
|
||||
|
||||
from flask_cors import CORS
|
||||
from pymongo import MongoClient
|
||||
|
||||
@ -13,9 +15,15 @@ from controllers.reservation_controller import reservation_blueprint
|
||||
from controllers.health_controller import health_blueprint
|
||||
from controllers.room_controller import room_blueprint
|
||||
|
||||
print(f"Eventlet version: {eventlet.__version__}")
|
||||
print(f"Eventlet wsgi module: {eventlet.wsgi}")
|
||||
|
||||
import socket
|
||||
print(socket.socket)
|
||||
|
||||
import sys
|
||||
print("Loaded modules:", sorted(sys.modules.keys()))
|
||||
|
||||
CORS(app)
|
||||
app.config['JWT_SECRET_KEY'] = Config.JWT_SECRET_KEY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user