feat: Add google storage support (#3887)

Co-authored-by: miendinh <miendinh@users.noreply.github.com>
This commit is contained in:
miendinh
2024-04-27 17:26:52 +07:00
committed by GitHub
parent 661b30784e
commit 9ad489d133
5 changed files with 43 additions and 1 deletions

View File

@@ -54,6 +54,9 @@ ALIYUN_OSS_BUCKET_NAME=your-bucket-name
ALIYUN_OSS_ACCESS_KEY=your-access-key
ALIYUN_OSS_SECRET_KEY=your-secret-key
ALIYUN_OSS_ENDPOINT=your-endpoint
# Google Storage configuration
GOOGLE_STORAGE_BUCKET_NAME=yout-bucket-name
GOOGLE_STORAGE_SERVICE_ACCOUNT_JSON=your-google-service-account-json-base64-string
# CORS configuration
WEB_API_CORS_ALLOW_ORIGINS=http://127.0.0.1:3000,*