【发布时间】:2015-04-11 23:39:27
【问题描述】:
从 font awesome 4.3 开始,他们将字体添加为 woff2 格式。
我在尝试通过 owin 提供此文件时遇到 404ed 错误:
app.UseFileServer(new FileServerOptions() {
RequestPath = PathString.Empty,
FileSystem = new PhysicalFileSystem(@"banana")
});
如何通过 owin 中的文件服务器提供 woff2 mime 类型的文件?
【问题讨论】:
标签: mime-types owin font-awesome fileserver woff2