Commit 090a287 1 parent a9f438f commit 090a287 Copy full SHA for 090a287
File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ public static async Task Main(string[] args)
88
88
builder . Services . AddHostedService < DiscoveryPublishService > ( ) ;
89
89
90
90
builder . Services . AddControllers ( ) ;
91
- builder . Services . AddEndpointsApiExplorer ( ) ;
92
- builder . Services . AddSwaggerGen ( ) ;
91
+ // builder.Services.AddEndpointsApiExplorer();
92
+ // builder.Services.AddSwaggerGen();
93
93
94
94
var app = builder . Build ( ) ;
95
95
app . UseSerilogRequestLogging ( options =>
@@ -108,11 +108,11 @@ public static async Task Main(string[] args)
108
108
} ;
109
109
} ) ;
110
110
111
- if ( app . Environment . IsDevelopment ( ) )
112
- {
113
- app . UseSwagger ( ) ;
114
- app . UseSwaggerUI ( ) ;
115
- }
111
+ // if (app.Environment.IsDevelopment())
112
+ // {
113
+ // app.UseSwagger();
114
+ // app.UseSwaggerUI();
115
+ // }
116
116
117
117
app . MapControllers ( ) ;
118
118
You can’t perform that action at this time.
0 commit comments