I have a project where all paths are routed through the same /index page, however this directs images/css/js files through the same page. In the example below, I am wondering how would I exclude those resources (i.e. /images/, /js/, /css/*, etc) from being routed to the /index page?
services.AddRazorPages().AddRazorPagesOptions(options => {
options.Conventions.AddPageRoute("/index", "{*url}");
});
this directs images/css/js files through the same page.Do you mean that all request(s) to static files are mapped to index page?