This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
Purpose of MapSpaFallbackRoute #973
Closed
Description
What is the purpose of the following code which is automatically loaded to the Startup
class with this project:
routes.MapSpaFallbackRoute(
name: "spa-fallback",
defaults: new { controller = "Home", action = "Index" });
This results in a 200 being thrown when a non-existent API endpoint is hit instead of a 404.
Metadata
Metadata
Assignees
Labels
No labels