Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cloudflare r2 support using aws s3 api(need config cors policy) #484

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

lurenyang418
Copy link
Contributor

cors policy config

[
  {
    "AllowedOrigins": [
      "*"
    ],
    "AllowedMethods": [
      "GET",
      "PUT",
      "HEAD"
    ],
    "AllowedHeaders": [
      "*"
    ]
  }
]

BTW. Aliyun OSS, Tencent Cloud COS, Qiniu Kodo, and MinIO should all be able to use the AWS API for uploading (untested).

Copy link

github-actions bot commented Dec 20, 2024

🎊 PR Preview has been successfully built and deployed to https://doocs-md-preview-pr-484.surge.sh

@yanglbme yanglbme merged commit f10c5e6 into doocs:main Dec 20, 2024
2 checks passed
@yanglbme
Copy link
Member

Nice work, thanks @lurenyang418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants