Manoj
CDCloudflare Developers
•Created by Manoj on 11/19/2024 in #general-help
Cors error r2
ExposeHeaders is missing headers like ETag
AllowedHeaders is missing headers like Authorization or Content-Type
AllowedMethods is missing methods like POST/PUT (you do not need to include OPTIONS)
this worked, why do we even need to include these ?, expalin and I can download the files just by visiting urls, not sure if the AllowedOrigins headers is working fine,
[
{
"AllowedOrigins": [
"https://test.fileloom.com:3000",
"https://www.fileloom.com",
"https://fileloom.com",
"https://www.alpha.fileloom.com",
"https://alpha.fileloom.com"
],
"AllowedMethods": [
"GET"
],
"AllowedHeaders": [
"Content-Type",
"Authorization"
],
"ExposeHeaders": [
"ETag"
],
"MaxAgeSeconds": 3600
}
]
3 replies
CDCloudflare Developers
•Created by Manoj on 11/19/2024 in #general-help
Cors error r2
[
{
"AllowedOrigins": [
"https://test.fileloom.com:3000",
"https://www.fileloom.com",
"https://fileloom.com",
"https://www.alpha.fileloom.com",
"https://alpha.fileloom.com"
],
"AllowedMethods": [
"GET"
],
"AllowedHeaders": [
"Content-Type",
"Authorization"
],
"ExposeHeaders": [
"ETag"
],
"MaxAgeSeconds": 3600
}
]
this policy worked
3 replies