• Resolved scysys

    (@scysys)


    I need to set the Cors Header because of Cloudflare Worker. Like: https://developers.cloudflare.com/workers/examples/cors-header-proxy

    Access to font at 'https://www.xxx.eu/wp-content/plugins/bb-plugin/fonts/fontawesome/5.15.4/webfonts/fa-solid-900.ttf' from origin 'https://xxx.preview.devprod.cloudflare.dev' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

    Without it all FONT-Files will not working ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter scysys

    (@scysys)

    devprod is just example. On Mobile i dont see the right url.

    Thread Starter scysys

    (@scysys)

    For now ill set it over the .htaccess. But thats a bad design. Its absolutly only needed when worker is in use. So its needed that you add cors support for worker.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @scysys,
    Inside your Cloudflare Dashboard > Rules > Transform Rules > Modify Response Header can be used to easily add any response header including CORS.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CORS Header’ is closed to new replies.