Skip to content

Commit 847f4bf

Browse files
committed
rollback unwanted changes
1 parent 0b8a29e commit 847f4bf

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

scenarios/antiforgery.benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ scenarios:
3535
load:
3636
job: wrk
3737
variables:
38-
path: /generateToken
38+
path: /auth
3939

4040
antiforgery-noop:
4141
application:

src/BenchmarksApps/Antiforgery/Program.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@
1010
app.MapGet("/", () => Results.Ok("hello world!"));
1111
app.MapGet("/noOp", (HttpContext ctx, IAntiforgery antiforgery) => Results.Ok());
1212

13-
// GET https://localhost:55471/generateToken
14-
app.MapGet("/generateToken", (HttpContext ctx, IAntiforgery antiforgery) =>
15-
{
16-
var token = antiforgery.GetAndStoreTokens(ctx);
17-
return Results.Ok();
18-
});
19-
2013
// GET https://localhost:55471/auth
2114
app.MapGet("/auth", (HttpContext ctx, IAntiforgery antiforgery) =>
2215
{

0 commit comments

Comments
 (0)