diff --git a/Dfe.PrepareConversions/Dfe.PrepareConversions/Startup.cs b/Dfe.PrepareConversions/Dfe.PrepareConversions/Startup.cs index 5528c796b..f2f90c5da 100644 --- a/Dfe.PrepareConversions/Dfe.PrepareConversions/Startup.cs +++ b/Dfe.PrepareConversions/Dfe.PrepareConversions/Startup.cs @@ -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 => {