I have been trying to get Firefox to load a custom font I have on a server that is not the one my Google App Engine project is in, I understand that this happens because my website and my font are not on the same server, and Firefox does not allow that.
I found on this question Access-Control-Allow-Origin header on Google App Engine how to allow different origins like you would on an htaccess file, but it seems to work only for files that you have on your server too. I am trying this
- url: /wp-content(.*\.(otf|eot|svg|ttf|woff))
static_files: wordpress/wp-content/\1
upload: wordpress/wp-content/(.*\.(otf|eot|svg|ttf|woff))
http_headers:
Access-Control-Allow-Origin: "*"
, and I downloaded my files, to see if it would work locally, and it doesn't. This is what I have, there is obviously something wrong with it, but I would really like to know how to add the handler here, so my font-face would still be loaded on another server and not with a remote link.
The font loads well on Chrome, Safari and Opera.