Showing posts with label Amazon AWS. Show all posts
Showing posts with label Amazon AWS. Show all posts

Monday, May 4, 2015

How to set up Amazon S3 to publish Webfonts & overcome CORS Issue




How to set up  Amazon S3 to publish  Webfonts & overcome CORS Issue



  • Go to the Bucket in Amazon S3 Console
  • Select the Bucket that you want to enable CORS
  • click Properties Tab
  • click Permission and then click "Edit CORS config"
  • Enter below policy
  • <CORSConfiguration>
        <CORSRule>
            <AllowedOrigin>*</AllowedOrigin>
            <AllowedMethod>GET</AllowedMethod>
        </CORSRule>
    </CORSConfiguration>


  • Click Save..
  • Refresh webfont link ! Thats it .