Fix: User login on production.

This commit is contained in:
2024-11-15 16:38:57 +00:00
parent ac2fc92380
commit f51d49c42c
3 changed files with 65 additions and 34 deletions

View File

@@ -39,4 +39,5 @@ class Helper_App(BaseModel):
if current_app.app_config.is_development:
print(message)
elif current_app.app_config.is_production:
current_app.logger.info(message)
pass
current_app.logger.info(message)