Include swagger in release build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Xander Sigler 2022-01-26 23:14:36 -08:00
parent 9294581824
commit 5fea499da4

View File

@ -45,11 +45,10 @@ namespace AOC2021
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "AOC2021 v1"));
}
app.UseHttpsRedirection();
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "AOC2021 v1"));
app.UseRouting();