C#C
C#4y ago
Pokey

❔ Disable Swagger index.html Routing

I have just added and configured Swagger on my project with a custom rote, however, when launching my app on Debug, Swagger has taken over the root route
/
and redirects it to
/index.html
which is 404 because of my custom setup.

How can I tell swagger to quit redirecting this and to leave it alone, and let my other routes take over (as I have a controller mapped to
/
)?
Was this page helpful?