Skip to content

Commit

Permalink
Specifically only add back whats needed for https in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
hhvrc authored Nov 26, 2024
1 parent dc49325 commit 8dc0143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/OpenShockApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static WebApplicationBuilder CreateDefaultBuilder<TProgram>(string[] args
});

// Since we use slim builders, this allows for HTTPS during local development
if (isDevelopment) builder.WebHost.UseKestrel();
if (isDevelopment) builder.WebHost.UseKestrelHttpsConfiguration();

builder.WebHost.ConfigureKestrel(serverOptions =>
{
Expand Down

0 comments on commit 8dc0143

Please sign in to comment.