Skip to content

Commit

Permalink
https and aspire install
Browse files Browse the repository at this point in the history
  • Loading branch information
nakigoe committed Jan 8, 2024
1 parent 72097ef commit 4470cd8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion master-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ chmod +x ./dotnet-install.sh
# Installing the latest version of .NET
./dotnet-install.sh --version latest

# Restoring .NET workloads
# Restoring .NET workloads and install Aspire
sudo dotnet workload restore
sudo dotnet workload install aspire

# Setting up HTTPS development certificates
dotnet dev-certs https
Expand Down
2 changes: 1 addition & 1 deletion src/Mobile.Bff.Shopping/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

var app = builder.Build();

// app.UseHttpsRedirection();
app.UseHttpsRedirection();

app.MapDefaultEndpoints();

Expand Down
2 changes: 1 addition & 1 deletion src/WebApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

app.UseAntiforgery();

// app.UseHttpsRedirection();
app.UseHttpsRedirection();

app.UseStaticFiles();

Expand Down
2 changes: 1 addition & 1 deletion src/WebhookClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

app.UseAntiforgery();

// app.UseHttpsRedirection();
app.UseHttpsRedirection();

app.UseStaticFiles();

Expand Down

0 comments on commit 4470cd8

Please sign in to comment.