Skip to content

Commit eb5f577

Browse files
teset
1 parent 22fb508 commit eb5f577

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

EssentialCSharp.Web/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,13 +145,13 @@ private static void Main(string[] args)
145145
});
146146

147147
WebApplication app = builder.Build();
148+
app.UseForwardedHeaders();
148149
app.Use((context, next) =>
149150
{
150151
context.Request.Scheme = "https";
151152
return next(context);
152153
});
153154

154-
app.UseForwardedHeaders();
155155

156156
// Configure the HTTP request pipeline.
157157
if (!app.Environment.IsDevelopment())

0 commit comments

Comments
 (0)