We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8cffb8 commit ee75841Copy full SHA for ee75841
1 file changed
Blog.Core/Startup.cs
@@ -203,6 +203,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
203
app.UseSwaggerUI(c =>
204
{
205
c.SwaggerEndpoint("/swagger/v1/swagger.json", "ApiHelp V1");
206
+ //c.RoutePrefix = "";//路径配置,设置为空,表示直接在根域名(localhost:8001)访问该文件
207
});
208
#endregion
209
app.UseMiddleware<JwtTokenAuth>();
0 commit comments