<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
<分区>
编辑问题以包含 desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem .这将有助于其他人回答问题。
关闭 7 年前。
我的网站在网上看起来很糟糕:ihavenotv.com
但在我的机器上,从 Visual Studio 运行时,工作正常。
另外,在开发工具 (F12) 上有这个错误,它不是本地的:
无法加载资源:服务器响应状态为 404(未找到) http://ihavenotv.com/fonts/glyphicons-halflings-regular.woff2加载资源失败:服务器响应状态为 404(未找到)
我不知道它是否相关,但无论如何......图标有效。
任何帮助将不胜感激! 谢谢!
最佳答案
您是否检查过服务器是否具有正确的 woff2 字体 mime 类型映射?
它应该是'application/font-woff2'。
关于c# - MVC 网站发布后看起来不一样,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31425684/