We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22fb508 commit eb5f577Copy full SHA for eb5f577
1 file changed
EssentialCSharp.Web/Program.cs
@@ -145,13 +145,13 @@ private static void Main(string[] args)
145
});
146
147
WebApplication app = builder.Build();
148
+ app.UseForwardedHeaders();
149
app.Use((context, next) =>
150
{
151
context.Request.Scheme = "https";
152
return next(context);
153
154
- app.UseForwardedHeaders();
155
156
// Configure the HTTP request pipeline.
157
if (!app.Environment.IsDevelopment())
0 commit comments