Problems with CORS

Hello, i have an problem with cors origins on R2, I am getting an error
Access to font at 'https://r2.domain.com/assets/fonts/Poppins-Regular.ttf' from origin 'http://localhost:4008' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

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

but cors is configured, What is the issue?
Was this page helpful?