Cross-domain font-face issues

后端 未结 4 426
遇见更好的自我
遇见更好的自我 2021-02-04 04:47

please read all of this before commenting.

I\'m currently working on a large website which is hosted on Amazon Web Services (AWS). This allows us to use scalability feat

4条回答
  •  春和景丽
    2021-02-04 05:23

    This is possible using S3 without Cloudfront by adding the following CORS configuration.

    
    
      
        *
        GET
        3000
        Content-*
        Host
      
    
    

    http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html

    http://html5hacks.com/blog/2012/11/18/configure-amazon-s3-for-cross-origin-resourse-sharing-to-host-a-web-font/

    http://blog.blenderbox.com/2012/10/12/serving-font-face-fonts-to-firefox-from-an-s3-bucket/

提交回复
热议问题