Hi,
I use the fontello font (MIT license) with Appex that I declare in the following way within my CSS headers. headBootStrapCCS <head: 199> ^< !-- Font Awesome CSS --> <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.css" rel="stylesheet"> <!-- Fontello CSS --> <link href=« http://stakepoint.com/fonts/fontello/css/fontello.css" rel="stylesheet"> For the Fontello font (MIT license) I cannot find a CDN provider. However this gives the following CROS warnings within Chrome’s developer window. Any hint is welcome. Regards, @+Maarten _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
See https://en.wikipedia.org/wiki/Cross-origin_resource_sharing.
You need to add a response header to your application, either in the image or if you're using apache or nginx at the webserver level to explicitly allow the fonts you want to load to be loaded. Fonts and Javascript are restricted because they can do Nasty Things. so in your image: html requestContext response headerAt: 'Access-Control-Allow-Origin' put: 'http://example.com'
|
Thanks, In affect the following this without problem. Regards, @+Maarten,
_______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |