Support Forums for LiveMesh Themes & Plugins › Forums › Appdev Theme Support › Access blocked to Livemesh font
- This topic has 1 reply, 1 voice, and was last updated 7 years, 1 month ago by
hdavy2002.
-
AuthorPosts
-
January 5, 2018 at 10:36 am #28811
hdavy2002
ParticipantI 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
January 5, 2018 at 10:38 am #28812hdavy2002
ParticipantThis reply has been marked as private. -
AuthorPosts
- The forum ‘Appdev Theme Support’ is closed to new topics and replies.