I have found that @font-face doesn't work with this module enabled for css. All other browsers work fine.

Comments

maczkojanos’s picture

Hi,

here is the workaround:
put in the .htaccess:

  <FilesMatch "\.(ttf|otf|eot|woff)$">
    <IfModule mod_headers.c>
        Header set Access-Control-Allow-Origin "*"
    </IfModule>
</FilesMatch>
  

maczkojanos

marcus178’s picture

Thanks that works great

Wim Leers’s picture

Thanks, I'll also document/support this in the CDN module: #982188: Work around Same-Origin Policy: Cross-Origin Resource Sharing (CORS) support.

Wim Leers’s picture

Assigned: Unassigned » Wim Leers
Status: Active » Closed (duplicate)
adversegecko’s picture

fantastic thank you!

dadderley’s picture

Issue summary: View changes

Thank you.