Access blocked to Livemesh font

This topic is: not resolved

This topic contains 1 reply, has 1 voice, and was last updated by Hdavy2002 hdavy2002 6 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28811
    Hdavy2002
    hdavy2002
    Participant
    Post count: 8

    I am using uploadS3 and host my wordpress related js,css on AWS S3 and then use CloudFront for CDN. I have CORS Policy enabled on my S3 Bucket.

    My site was running slow, so I was digging around to see whats was slowing it. I am seeing few errors related to fonts.

    “JQMIGRATE: Migrate is installed, version 1.4.1
    2(index):149 Mixed Content: The page at ‘https://mydomain.io/’ was loaded over HTTPS, but requested an insecure image ‘http://mydomain.io/wp-content/uploads/2018/01/iconpng55.png’. This content should also be served over HTTPS.
    (index):1 Access to Font at ‘https://www.livemeshthemes.com/appdev/wp-content/fonts/Museo/2793F1_1_0.woff’ from origin ‘https://mydomain.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://mydomain.io’ is therefore not allowed access.
    (index):1 Access to Font at ‘https://www.livemeshthemes.com/appdev/wp-content/fonts/Museo/2793F1_2_0.woff’ from origin ‘https://mydomain.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://mydomain.io’ is therefore not allowed access.
    (index):1 Access to Font at ‘https://www.livemeshthemes.com/appdev/wp-content/fonts/Museo/2793F1_1_0.ttf’ from origin ‘https://mydomain.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://mydomain.io’ is therefore not allowed access.
    (index):1 Access to Font at ‘https://www.livemeshthemes.com/appdev/wp-content/fonts/Museo/2793F1_2_0.ttf’ from origin ‘https://mydomain.io’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://mydomain.io’ is therefore not allowed access.

    My CORS Policy is:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <CORSConfiguration xmlns=”http://s3.amazonaws.com/doc/2006-03-01/”>
    <CORSRule>
    <AllowedOrigin>*</AllowedOrigin>
    <AllowedMethod>GET</AllowedMethod>
    <AllowedMethod>HEAD</AllowedMethod>
    <AllowedMethod>DELETE</AllowedMethod>
    <AllowedMethod>PUT</AllowedMethod>
    <AllowedMethod>POST</AllowedMethod>
    <MaxAgeSeconds>3000</MaxAgeSeconds>
    <AllowedHeader>*</AllowedHeader>
    </CORSRule>
    </CORSConfiguration>

    Can I host the fonts myself. I tried to add the following in my custom CSS
    @import url(‘https://fonts.googleapis.com/css?family=Nunito’);
    @font-face {
    font-family: ‘Nunito’, sans-serif;
    }

    I got the fonts to change, but still see this the abvove errors.

    Thanks for your help

    CHeers

    UD

    #28812
    Hdavy2002
    hdavy2002
    Participant
    Post count: 8
    This reply has been marked as private.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.