This commit is contained in:
parent
81fa36f029
commit
d801bdc271
|
|
@ -26,7 +26,7 @@ namespace RazorPagesApp
|
|||
builder.AddRazorPagesOptions(options =>
|
||||
{
|
||||
options.RootDirectory = "/Pages";
|
||||
options.AuthorizeFolder("/Auth");
|
||||
options.Conventions.AuthorizeFolder("/Auth");
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue