diff --git a/.gitignore b/.gitignore index 84acc12..0cebc4e 100644 --- a/.gitignore +++ b/.gitignore @@ -162,4 +162,4 @@ AGENTS.md dist/ # Frontend themes (built from GitHub during Docker build) -themes/ +themes/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index ae25954..e658070 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,4 +66,4 @@ ENV HOST="0.0.0.0" \ EXPOSE 12345 # 生产环境启动命令 -CMD ["sh", "-c", "exec uvicorn main:app --host \"$HOST\" --port \"$PORT\" --workers \"$WORKERS\" --log-level \"$LOG_LEVEL\" --proxy-headers --forwarded-allow-ips '*'"] +CMD ["sh", "-c", "exec uvicorn main:app --host \"$HOST\" --port \"$PORT\" --workers \"$WORKERS\" --log-level \"$LOG_LEVEL\" --proxy-headers --forwarded-allow-ips '*'"] \ No newline at end of file diff --git a/apps/admin/views.py b/apps/admin/views.py index 6af7bdc..f63d762 100644 --- a/apps/admin/views.py +++ b/apps/admin/views.py @@ -824,4 +824,4 @@ async def update_file( count=1, meta={"fields": sorted(update_data.keys())}, ) - return APIResponse(detail="更新成功") + return APIResponse(detail="更新成功") \ No newline at end of file diff --git a/apps/base/models.py b/apps/base/models.py index a99c882..28b3d4a 100644 --- a/apps/base/models.py +++ b/apps/base/models.py @@ -107,4 +107,4 @@ upload_chunk_pydantic = pydantic_model_creator(UploadChunk, name="UploadChunk") key_value_pydantic = pydantic_model_creator(KeyValue, name="KeyValue") presign_upload_session_pydantic = pydantic_model_creator( PresignUploadSession, name="PresignUploadSession" -) +) \ No newline at end of file diff --git a/core/settings.py b/core/settings.py index ffa1b49..713366f 100644 --- a/core/settings.py +++ b/core/settings.py @@ -104,4 +104,4 @@ class Settings: return {**self.default_config, **self.user_config}.items() -settings = Settings(DEFAULT_CONFIG) +settings = Settings(DEFAULT_CONFIG) \ No newline at end of file