Browse Source

disable debug

main
Hendrik Langer 4 years ago
parent
commit
8cf4e71233
  1. 2
      raspberry/roberto/__init__.py

2
raspberry/roberto/__init__.py

@ -55,7 +55,7 @@ def initialize_extensions(app):
from roberto.model import db from roberto.model import db
db.init_app(app) db.init_app(app)
#login.init_app(app) #login.init_app(app)
socketio.init_app(app, cors_allowed_origins="*", engineio_logger=True) socketio.init_app(app, cors_allowed_origins="*", engineio_logger=app.config['DEBUG'])
pass pass
def register_blueprints(app): def register_blueprints(app):

Loading…
Cancel
Save