I'm doing some experiments with VNext + OSX + Chrome. I'm trying to get a woff2 file
GET http://localhost:5003/fonts/fontawesome-webfont.woff2?v=4.3.0
But an error occur. See the request's header below
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
This is my Startup.cs
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" });
});
}
I saw inside AspNet project at Github about StaticFiles (Link bellow) and it seems to be supported.
Can you guys give me some help?