Skip to content

Commit

Permalink
added maintenance page as anonymous page
Browse files Browse the repository at this point in the history
  • Loading branch information
paullocknimble committed Jan 5, 2024
1 parent d998b14 commit 044e0e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dfe.PrepareConversions/Dfe.PrepareConversions/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public void ConfigureServices(IServiceCollection services)
.AddRazorPages(options =>
{
options.Conventions.AuthorizeFolder("/");
options.Conventions.AllowAnonymousToPage("/Public/AccessibilityStatement");
options.Conventions.AllowAnonymousToPage("/Public/Maintenance");
})
.AddViewOptions(options =>
{
Expand Down

0 comments on commit 044e0e9

Please sign in to comment.