teena
teena
CDCloudflare Developers
Created by teena on 11/12/2024 in #r2
CORS issues when downloading files from R2
Cc @SirTheo 💚
6 replies
CDCloudflare Developers
Created by teena on 11/12/2024 in #r2
CORS issues when downloading files from R2
Making your suggestions, plus clearing my browser's cache etc made it work. Thanks a lot
6 replies
CDCloudflare Developers
Created by teena on 11/12/2024 in #r2
CORS issues when downloading files from R2
This is what I currently have:
[
{
"AllowedOrigins": [
"https://assets.mydomain.com",
"http://localhost:3000"
],
"AllowedMethods": [
"GET", "HEAD"
],
"AllowedHeaders": [
"*"
],
"ExposeHeaders": ["Etag"]
"MaxAgeSeconds": 3600
}
]
[
{
"AllowedOrigins": [
"https://assets.mydomain.com",
"http://localhost:3000"
],
"AllowedMethods": [
"GET", "HEAD"
],
"AllowedHeaders": [
"*"
],
"ExposeHeaders": ["Etag"]
"MaxAgeSeconds": 3600
}
]
Let me update the transform rules to your suggestions and report back
6 replies
CDCloudflare Developers
Created by teena on 9/15/2024 in #general-help
[Solved] Help with Rewrite/Redirect rules
No description
2 replies