From da01a2bf50d3f88f163f70c7d4d2933682c83c20 Mon Sep 17 00:00:00 2001 From: Dustin Walker Date: Fri, 19 Sep 2025 10:53:16 -0400 Subject: dark theme enforced --- .../SovereignDemesneRazor/Program.cs | 45 +++++++++++----------- 1 file changed, 22 insertions(+), 23 deletions(-) (limited to 'SovereignDemesneAzure/SovereignDemesneRazor/Program.cs') diff --git a/SovereignDemesneAzure/SovereignDemesneRazor/Program.cs b/SovereignDemesneAzure/SovereignDemesneRazor/Program.cs index 3fc1946..3a0ade0 100644 --- a/SovereignDemesneAzure/SovereignDemesneRazor/Program.cs +++ b/SovereignDemesneAzure/SovereignDemesneRazor/Program.cs @@ -1,35 +1,34 @@ -namespace SovereignDemesneRazor +namespace SovereignDemesneRazor; + +public class Program { - public class Program + public static void Main(string[] args) { - public static void Main(string[] args) - { - var builder = WebApplication.CreateBuilder(args); + WebApplicationBuilder builder = WebApplication.CreateBuilder(args); - // Add services to the container. - builder.Services.AddRazorPages(); + // Add services to the container. + builder.Services.AddRazorPages(); - var app = builder.Build(); + WebApplication app = builder.Build(); - // Configure the HTTP request pipeline. - if (!app.Environment.IsDevelopment()) - { - app.UseExceptionHandler("/Error"); - // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. - app.UseHsts(); - } + // Configure the HTTP request pipeline. + if (!app.Environment.IsDevelopment()) + { + app.UseExceptionHandler("/Error"); + // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. + app.UseHsts(); + } - app.UseHttpsRedirection(); + app.UseHttpsRedirection(); - app.UseRouting(); + app.UseRouting(); - app.UseAuthorization(); + app.UseAuthorization(); - app.MapStaticAssets(); - app.MapRazorPages() - .WithStaticAssets(); + app.MapStaticAssets(); + app.MapRazorPages() + .WithStaticAssets(); - app.Run(); - } + app.Run(); } } -- cgit v1.2.3