Open iradofurioso opened 6 years ago
Hello, I'm having troubles with Google AMP. The font is not loading over CDN.
If you access the font directly with the link it works
www.centralandroid.com.br/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/swift/fonts/icomoon.ttf
However when Google tries to access over CDN it gives 404 error.
https://www-centralandroid-com-br.cdn.ampproject.org/r/s/www.centralandroid.com.br/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/swift/fonts/icomoon.ttf
Do you have any idea about how to fix it?
Hi @tresloukadu. It seems that AMP has some whitelisted external sources to get fonts from: https://www.ampproject.org/docs/design/responsive/custom_fonts
So AMP doesn't allow to load fonts from other places.
Hello, I'm having troubles with Google AMP. The font is not loading over CDN.
If you access the font directly with the link it works
www.centralandroid.com.br/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/swift/fonts/icomoon.ttf
However when Google tries to access over CDN it gives 404 error.
https://www-centralandroid-com-br.cdn.ampproject.org/r/s/www.centralandroid.com.br/wp-content/plugins/accelerated-mobile-pages/templates/design-manager/swift/fonts/icomoon.ttf
Do you have any idea about how to fix it?