pull/243/head
Rick Anderson 2023-11-15 16:29:11 -10:00 committed by GitHub
parent fdd7980f64
commit ea100e8688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ builder.Services.AddAntiforgery();
var app = builder.Build();
app.UseAntiforgery();
// <snippet_get>
// Pass token
app.MapGet("/", (HttpContext context, IAntiforgery antiforgery) =>