feat(api-attachment): add minio presigned upload flow

This commit is contained in:
2026-04-05 00:05:39 +08:00
parent 8f6ff38a32
commit bd3241504f
9 changed files with 1905 additions and 1 deletions
+8
View File
@@ -17,3 +17,11 @@ OAUTH_WECHAT_CLIENT_SECRET="wechat-client-secret"
OAUTH_WECHAT_CALLBACK_URL="http://localhost:3000/auth/oauth/wechat/callback"
OAUTH_WECHAT_AUTH_URL="https://open.weixin.qq.com/connect/qrconnect"
OAUTH_WECHAT_TOKEN_URL="https://api.weixin.qq.com/sns/oauth2/access_token"
S3_ENDPOINT="http://127.0.0.1:9000"
S3_REGION="us-east-1"
S3_BUCKET="todolist"
S3_ACCESS_KEY_ID="minioadmin"
S3_SECRET_ACCESS_KEY="minioadmin"
S3_FORCE_PATH_STYLE="true"
S3_PRESIGN_EXPIRES_SECONDS="900"
S3_PUBLIC_BASE_URL="http://127.0.0.1:9000"