diff --git a/QandA/QandA/Startup.cs b/QandA/QandA/Startup.cs index 4555b4a..6f0809e 100644 --- a/QandA/QandA/Startup.cs +++ b/QandA/QandA/Startup.cs @@ -43,8 +43,10 @@ namespace QandA app.UseSwagger(); app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "QandA v1")); } - - app.UseHttpsRedirection(); + else + { + app.UseHttpsRedirection(); + } app.UseRouting();