File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "windowsAuthentication" : false ,
44 "anonymousAuthentication" : true ,
55 "iisExpress" : {
6- "applicationUrl" : " http://localhost:51020 /" ,
6+ "applicationUrl" : " http://localhost:5000 /" ,
77 "sslPort" : 44301
88 }
99 },
1010 "profiles" : {
1111 "IIS Express" : {
1212 "commandName" : " IISExpress" ,
1313 "launchBrowser" : true ,
14- "launchUrl" : " swagger" ,
1514 "environmentVariables" : {
1615 "ASPNETCORE_ENVIRONMENT" : " Development"
1716 }
Original file line number Diff line number Diff line change @@ -21,9 +21,14 @@ public void Configure(IApplicationBuilder app)
2121 {
2222 app
2323 . UseDeveloperExceptionPage ( )
24- . UseMvc ( )
2524 . UseSwagger ( )
26- . UseSwaggerUI ( c => { c . SwaggerEndpoint ( $ "{ _Version } /swagger.json", _AppTitle ) ; } ) ;
25+ . UseSwaggerUI (
26+ c =>
27+ {
28+ c . SwaggerEndpoint ( $ "swagger/{ _Version } /swagger.json", _AppTitle ) ;
29+ c . RoutePrefix = string . Empty ;
30+ } )
31+ . UseMvc ( ) ;
2732 }
2833
2934 public void ConfigureServices ( IServiceCollection services )
Original file line number Diff line number Diff line change 88consul :
99 image : consul
1010 ports :
11- - " 8500:8500"
12-
11+ - " 8500:8500"
You can’t perform that action at this time.
0 commit comments