Font from origin has been blocked from loading by Cross-Origin Resource Sharing policy
Custom web fonts via CDN requires CORS (Cross-Origin Resource Sharing) configuration to display fonts properly.
Add the below rule to your .htaccess
Using a wildcard is potentially insecure as it opens the domain to JavaScript access from any domain. Instead, you can allow your domain or subdomain.
When add
is used, the response header will be added to the existing set of headers; Whereas with set
the response header will be set, replacing any header with this name.
« Get a notification when the movie tickets are available on BookMyShow
Always backup your database »
Did you like that post?
You can suscribe to the
RSS feed
or follow
@neatcoder
on Twitter
.