Comments (9)
@blinkerz can you provide me line 1 please?
The mime types are not the issue IMO.
from bootstrapcdn.
https://github.com/FortAwesome/Font-Awesome/blob/master/css/font-awesome.css
@font-face {
font-family: "FontAwesome";
src: url('../font/fontawesome-webfont.eot'); /* This is the line that's missing */
src: url('../font/fontawesome-webfont.eot?#iefix') format('eot'), url('../font/fontawesome-webfont.woff') format('woff'), url('../font/fontawesome-webfont.ttf') format('truetype'), url('../font/fontawesome-webfont.svg#FontAwesome') format('svg');
font-weight: normal;
font-style: normal;
}
from bootstrapcdn.
@blinkerz try this: https://netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome-72.css
from bootstrapcdn.
Still doesn't work. The code is already pretty much identical to:
http://cdnjs.cloudflare.com/ajax/libs/font-awesome/2.0/font-awesome.css
and the one from cdnjs works (apart from 1 minor issue cdnjs/cdnjs#620). That means there are other factors to why it doesn't work
from bootstrapcdn.
@blinkerz try this https://netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome-72a.css
from bootstrapcdn.
Could the problem be the missing protocol (http/https)?
from bootstrapcdn.
@it-can not sure, for now I am closing this issue.
If someone has IE7/8 and can test this: https://netdna.bootstrapcdn.com/font-awesome/2.0/css/font-awesome-72a.css
that would be great.
from bootstrapcdn.
Doesn't work for me either. But I should note that the css seems to be loading just fine--the font itself is not.
from bootstrapcdn.
.htaccess
# ----------------------------------------------------------------------
# CORS-enabled images (@crossorigin)
# ----------------------------------------------------------------------
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$">
SetEnvIf Origin ":" IS_CORS
Header set Access-Control-Allow-Origin "*" env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# ----------------------------------------------------------------------
# Webfont access
# ----------------------------------------------------------------------
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like "subdomain.example.com".
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css|css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
IIS ver 7.5+
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="access-control-allow-origin" value="*" />
<add name="access-control-allow-headers" value="content-type" />
</customHeaders>
</httpProtocol>
</system.webServer>
IIS ver < 7.5
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="access-control-allow-origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
NginX
location ~ \.(ttf|ttc|otf|eot|woff|font.css|css)$ {
add_header Access-Control-Allow-Origin "*";
}
from bootstrapcdn.
Related Issues (20)
- Replace request dev dependency with something else
- Where can the integrity value of a v3.3.7 Bootswatch theme be found? HOT 2
- Display: Swap Support On @font-face's HOT 1
- Consider asserting a `Cross-Origin-Resource-Policy`? HOT 16
- Enable x-content-type-options for CSS and JS files HOT 9
- Enable x-xss-protection HOT 2
- maxcdn.bootstrapcdn.com provides expires certs HOT 3
- This is a test
- Font Files for Bootstrap3.3.6 are throwing CERT Error HOT 2
- Was stackpath.bootstrapcdn.com down or slow over the weekend 19 and 20th Sept 2020? HOT 2
- Investigate CDN tests slowness HOT 3
- Design refresh HOT 1
- Adding a new integration HOT 1
- Add bootstrap icons support
- bootstrapCDN certificates are showing as not valid HOT 7
- Who runs `maxcdn.bootstrapcdn.com` and `stackpath.bootstrapcdn.com`? HOT 4
- Blocked by CORS Policy HOT 5
- add web components in bootstrapcdn HOT 8
- navbar resources dropdown menu showing same link for the list item 2 & 3 HOT 1
- Replace GA HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrapcdn.