fix (#242)
parent
fdd7980f64
commit
ea100e8688
|
@ -11,6 +11,8 @@ builder.Services.AddAntiforgery();
|
|||
|
||||
var app = builder.Build();
|
||||
|
||||
app.UseAntiforgery();
|
||||
|
||||
// <snippet_get>
|
||||
// Pass token
|
||||
app.MapGet("/", (HttpContext context, IAntiforgery antiforgery) =>
|
||||
|
|
Loading…
Reference in New Issue