For Workes & Pages, what is the name of the domain?
portion.ist
What is the issue or error you’re encountering
R2 CORS behaving odd for one site, while similar configuration works for another
What steps have you taken to resolve the issue?
Cleared cache on both browser and Coudflare, re-uploaded R2 content, re-applied CORs
What are the steps to reproduce the issue?
Visit https://portion.ist and click on login. Nothing happens when you click on login. Console shows CORs error, but cors has been set correctly. (Have a similar configuration for https://tesla-stats.pioneerdynamics.com.au but that website works just fine).
Cors policy applied to Portion.ist:
[
{
"AllowedOrigins": [
"https://www.portion.ist",
"https://portion.ist/"
],
"AllowedMethods": [
"GET"
],
"AllowedHeaders": [
"*"
]
}
]
Portion.ist works on firefox but fails with cors error on Chrome. When “Disable cache” is checked on Chrome it works.
TeslaStats works on all browsers without issues regardless of whether “Disable Cache” is checked or not.
Tried accessing from a device which never connected to portion.ist and it still works only when disable cache is selected.