diff --git a/api/app_factory.py b/api/app_factory.py index e6228e2b52013a..6e5b4bf912a1ed 100644 --- a/api/app_factory.py +++ b/api/app_factory.py @@ -23,9 +23,10 @@ ext_proxy_fix, ext_redis, ext_sentry, + ext_set_secretkey, ext_storage, ext_timezone, - ext_warnings, ext_set_secretkey, + ext_warnings, ) diff --git a/api/extensions/ext_set_secretkey.py b/api/extensions/ext_set_secretkey.py index 6b246113da9d96..dfb87c0167dfbf 100644 --- a/api/extensions/ext_set_secretkey.py +++ b/api/extensions/ext_set_secretkey.py @@ -3,4 +3,4 @@ def init_app(app: DifyApp): - app.secret_key = dify_config.SECRET_KEY \ No newline at end of file + app.secret_key = dify_config.SECRET_KEY