Skip to content

Commit

Permalink
fix(program.cs): comment https redirection in Program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
aliyaghini authored Aug 19, 2024
1 parent 25f8d6a commit 51660f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AnalysisData/AnalysisData/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@
app.UseSwagger();
app.UseSwaggerUI(c => c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1"));
}
app.UseHttpsRedirection();
//app.UseHttpsRedirection();
app.UseMiddleware<ExceptionHandlingMiddleware>();
app.UseRouting();
app.UseMiddleware<JwtMiddleware>();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.Run();
app.Run();

0 comments on commit 51660f2

Please sign in to comment.