This commit is contained in:
flaskfarm
2022-10-17 21:50:57 +09:00
parent 672d8016a8
commit e6113fabdd
2 changed files with 5 additions and 5 deletions

View File

@@ -448,10 +448,10 @@ class Framework:
try: try:
#self.logger.debug(d(self.config)) #self.logger.debug(d(self.config))
# allow_unsafe_werkzeug=True termux nohup 실행시 필요함 # allow_unsafe_werkzeug=True termux nohup 실행시 필요함
if self.config['running_type'] == 'termux': #if self.config['running_type'] == 'termux':
self.socketio.run(self.app, host=host, port=self.config['port'], debug=self.config['debug'], use_reloader=self.config['debug'], allow_unsafe_werkzeug=True) # self.socketio.run(self.app, host=host, port=self.config['port'], debug=self.config['debug'], use_reloader=self.config['debug'], allow_unsafe_werkzeug=True)
else: #else:
self.socketio.run(self.app, host=host, port=self.config['port'], debug=self.config['debug'], use_reloader=self.config['debug']) self.socketio.run(self.app, host=host, port=self.config['port'], debug=self.config['debug'], use_reloader=self.config['debug'])
self.logger.warning(f"EXIT CODE : {self.__exit_code}") self.logger.warning(f"EXIT CODE : {self.__exit_code}")
# 2021-05-18 # 2021-05-18
if self.config['running_type'] in ['termux', 'entware']: if self.config['running_type'] in ['termux', 'entware']:

View File

@@ -1 +1 @@
VERSION="4.0.18" VERSION="4.0.19"