❔ ✅ Swagger page doesn't load in fresh generated 7.0 .net webapi
The API itself works, I can create, query, and access new endpoints in the browser. But the swagger UI either isn't hosted or generated at all (404 not found)
My only hint is this warning when I try to load the page: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect
...Which disappears when I comment out app.UseHttpsRedirection(); in Program.cs.
Anyone come across this before? Maybe someone could share their config or program.cs?
My only hint is this warning when I try to load the page: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect
...Which disappears when I comment out app.UseHttpsRedirection(); in Program.cs.
Anyone come across this before? Maybe someone could share their config or program.cs?
