I have a AppHost that uses the Yarp resource, a React application for the frontend and some backend applications. If I use the HTTPS profile, the changes are not reflected automatically in the browser. Everything works fine when working with the HTTP profile.

Here is a screenshot of the resource view of my repro

Here is my AppHost Program.cs
using Aspirant.Hosting;
var builder = DistributedApplication.CreateBuilder(args);
var web = builder.AddNpmApp("web", "../../web")
.WithHttpEndpoint(env: "PORT")
.RunWithEnvironment("BROWSER", "none");
var isHttps = builder.Configuration["DOTNET_LAUNCH_PROFILE"] == "https";
builder.AddYarp("ingress")
.WithEndpoint(scheme: isHttps ? "https": "http", port: 11400)
.WithReference(web)
.LoadFromConfiguration("ReverseProxy");
builder.Build().Run();
And appsettings.json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning",
"Aspire.Hosting.Dcp": "Warning"
}
},
"ReverseProxy": {
"Routes": {
"web": {
"ClusterId": "web",
"Order": 1,
"Match": {
"Path": "{**catchall}"
}
}
},
"Clusters": {
"web": {
"Destinations": {
"web": {
"Address": "http://web"
}
}
}
}
}
}
PS: I'm perfectly fine working on the HTTP profile. I'm reporting this because it could have effects somewhere else.
I have a AppHost that uses the Yarp resource, a React application for the frontend and some backend applications. If I use the HTTPS profile, the changes are not reflected automatically in the browser. Everything works fine when working with the HTTP profile.
Here is a screenshot of the resource view of my repro
Here is my AppHost Program.cs
And appsettings.json
PS: I'm perfectly fine working on the HTTP profile. I'm reporting this because it could have effects somewhere else.