我正在用VNext+OSX+Chrome做一些实验.我在找woff2文件
GET http://localhost:5003/fonts/fontawesome-webfont.woff2?v=4.3.0
但出现了一个错误.请参见下面的请求标题
Remote Address:127.0.0.1:5003
Request URL:http://localhost:5003/fonts/fontawesome-webfont.woff2?v=4.3.0
Request Method:GET
Status Code:404 Not Found
这是我的创业公司.反恐精英
public void Configure(IApplicationBuilder app)
{
app.UseStaticFiles();
app.UseServices(services =>
{
services.AddMvc();
});
// Add MVC to the request pipeline
app.UseMvc(routes =>
{
routes.MapRoute(
name: "default",
template: "{controller}/{action}/{id?}",
defaults: new { controller = "Home", action = "Index" });
});
}
我在Github上看到了关于静态文件的AspNet项目(下面是链接),它似乎得到了支持.
你们能帮我个忙吗?