Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- builder.UseMvc(routes =>
- {
- routes.MapRoute("apiDefault", "api/{*url}", new { controller = "Home", action = "ApiNotFound" });
- routes.MapRoute("spa-routes", "{*anything}", new { controller = "Home", action = "Index" });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement