Replies: 2 comments
-
|
I think it's located in Program.cs |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
you can change it in WebApplicationExtensions.cs the routing mechanism feeded by this file, it creates all the routing with this rule |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
As the template default create path for API using
/api, how can we safely change path for/apito/for web API?I have changed these 3 following points:
outputinconfig.nswagDocumentPathinProgram.csComment
app.Map("/", () => Results.Redirect("/api"));inProgram.csAre there anything need to be changed?
Beta Was this translation helpful? Give feedback.
All reactions