diff --git a/src/backend/EcoLink.WebApi/Program.cs b/src/backend/EcoLink.WebApi/Program.cs index 42c992a..c2b472d 100644 --- a/src/backend/EcoLink.WebApi/Program.cs +++ b/src/backend/EcoLink.WebApi/Program.cs @@ -38,14 +38,14 @@ }); } -app.UseHttpsRedirection(); +//app.UseHttpsRedirection(); app.UseAuthorization(); -app.UseMiddleware(); - app.UseStaticFiles(); +app.UseMiddleware(); + app.MapControllers(); app.Run(); \ No newline at end of file