当前位置:网站首页>Solution for IIS failing to load font files (*.woff, *.svg)
Solution for IIS failing to load font files (*.woff, *.svg)
2022-06-30 15:51:00 【51CTO】
In the process of writing front-end code, we often encounter the use of specific Fonts (*.woff,*.svg), The request will be returned when the font is loaded
Failed to load resource: the server responded with a status of 404 (Not Found).
as a result of , Default in IIS There are no pairs added on *.woff,*.svg Of documents Mime type , Therefore, when the client requests such files, all they get is 404.
So we just need to be under our corresponding website Mime type Add the corresponding type of the file to the
- .woff application/x-font-woff
- .woff2 application/x-font-woff
- .svg image/svg+xml
No more is the lack of font files , Please check the font on the front end js And so on.
边栏推荐
- BYD is more and more like Huawei?
- LeCun指明下一代AI方向:自主机器智能
- 有意思的鼠标指针交互探究
- C language foundation - pointer array - initialization method & constant pointer array, pointer constant array
- topic: Privacy, Deception and Device Abuse
- Warning: [antd: Menu] `children` will be removed in next major version. Please use `items` instead.
- Phone number shielding function
- Using asp Net core creating web API series
- Implementation of Devops in the core field of qunar, the Internet R & D Efficiency
- 《网络是怎么样连接的》读书笔记 - 汇总篇
猜你喜欢
Finally understand science! 200 pictures to appreciate the peak of human wisdom
【子矩阵数量统计】CF1181C Flag子矩阵数量统计
linux下新建Mysql数据库并导入sql文件
《你的灯亮着吗》开始解决问题前,得先知道“真问题”是什么
At the beginning of the 2022 new year, I will send you hundreds of dry articles
Policy Center > Malware > Malware
实时渲染和预渲染有什么区别
Summary of gradient descent optimizer (rmsprop, momentum, Adam)
Data governance Market: Yixin Huachen faces left, Huaao data faces right
Oracle中的With As 子查询
随机推荐
Implementation of Devops in the core field of qunar, the Internet R & D Efficiency
openresty 内置变量
电子烟强制性国家标准GB 41700-2022发布 2022年10月1日起实施
《网络是怎么样连接的》读书笔记 - 汇总篇
return statement
开源 STM32 USB-CAN项目
linux下修改mysql密码: ERROR 1396 (HY000): Operation ALTER USER failed for ‘root‘@‘localhost‘
Policy Center-Permissions and APIs that Access Sensitive Information
ASP. Send information in sinalr controller of net core
[time series database incluxdb] code example for configuring incluxdb+ data visualization and simple operation with C under Windows Environment
map reduce案例超详细讲解
Types of waveguides
What would you choose between architecture optimization and business iteration?
IIS无法加载字体文件(*.woff,*.svg)的解决办法
Go-Micro安装
Google play index table
Interview experience of service end test engineer
Basic literacy - four common software architectures
数数据可视化实战案例(timeline轮播图,streamlit 控件年份 metabase可视化使用教程)2.0
深入分析GadgetInspector核心代码