Lỗi Bootstrap 3 Glyphicons khi load trang

Lỗi Bootstrap 3 Glyphicons,

Error GET fonts/glyphicons-halflings-regular.woff
Lỗi này do IIS server không hỗ trợ Mimetype .woff

Giải quyết bằng cách bổ sung MimeType trong web.config như sau

 <system.webServer>
        <staticContent>
            <mimeMap fileExtension=".woff" mimeType="application/x-woff" />
        </staticContent>
    </system.webServer>

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s