Closing this as no response
Hello @luckychingi !
We have the same issue, but the instructions from https://deliciousbrains.com/wp-offload-media/doc/configure-cors-to-resolve-web-font-issues/ are not helping.
Do you have any other suggestions?
https://ondemand.dev400.com/
We use Divi theme, and one of the fonts is not loading:
Access to font at ‘https://d3lfyxk1prmpw9.cloudfront.net/wp-content/themes/Divi/core/admin/fonts/modules.ttf’ from origin ‘https://ondemand.dev400.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
modules.ttf:1 Failed to load resource: net::ERR_FAILED
Thanks.
Hello @svitlana41319
I see the following headers, the access-control headers are present on the request. If possible try to check the error logs for details.
curl -H "Origin: https://ondemand.dev400.com/" --head https://d3lfyxk1prmpw9.cloudfront.net/wp-content/themes/Divi/core/admin/fonts/modules.ttf
HTTP/2 200
content-type: application/font-sfnt
content-length: 92400
server: nginx
date: Tue, 13 Aug 2019 13:33:27 GMT
access-control-allow-origin: *
x-accel-version: 0.01
last-modified: Mon, 15 Jul 2019 10:50:47 GMT
etag: "168f0-58db6085e48f9"
accept-ranges: bytes
access-control-allow-origin: *
x-powered-by: PleskLin
age: 225
x-cache: Hit from cloudfront
via: 1.1 1b6b00b86f1f234214316c68f617caa6.cloudfront.net (CloudFront)
x-amz-cf-pop: YTO50
x-amz-cf-id: snpU4CnFcfKLyVaIc_IUYACzeSVpWxXs4Sl3zfy13Z24_d1k4cAkTA==
P.S: Ideally you should be creating your own thread.