Skip to content

Commit

Permalink
Add test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Illia Mazuriak committed Apr 19, 2022
1 parent cee6f06 commit 817288d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/ReverseProxy.Minimal.Sample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@

var app = builder.Build();

app.Use((context, next) =>
{
context.Request.EnableBuffering();
return next(context);
});

app.MapReverseProxy();

app.Run();

0 comments on commit 817288d

Please sign in to comment.