mirror of
https://github.com/simple-login/app.git
synced 2025-02-24 07:43:54 +08:00
enable color log when dev
This commit is contained in:
parent
796ad58dca
commit
bc69e11f9b
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,7 @@ from sentry_sdk.integrations.flask import FlaskIntegration
|
|||
from sentry_sdk.integrations.sqlalchemy import SqlalchemyIntegration
|
||||
from werkzeug.middleware.proxy_fix import ProxyFix
|
||||
|
||||
from app import paddle_utils, s3
|
||||
from app import paddle_utils, s3, config
|
||||
from app.admin_model import (
|
||||
SLAdminIndexView,
|
||||
UserAdmin,
|
||||
|
@ -823,6 +823,7 @@ window.location.href = "/";
|
|||
|
||||
|
||||
def local_main():
|
||||
config.COLOR_LOG = True
|
||||
app = create_app()
|
||||
|
||||
# enable flask toolbar
|
||||
|
|
Loading…
Reference in a new issue