about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web.Server/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixRoomUtils.Web.Server/Program.cs')
-rw-r--r--MatrixRoomUtils.Web.Server/Program.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/MatrixRoomUtils.Web.Server/Program.cs b/MatrixRoomUtils.Web.Server/Program.cs
index a486226..b5c3869 100644
--- a/MatrixRoomUtils.Web.Server/Program.cs
+++ b/MatrixRoomUtils.Web.Server/Program.cs
@@ -9,11 +9,8 @@ var app = builder.Build();
 
 // Configure the HTTP request pipeline.
 if (app.Environment.IsDevelopment())
-{
     app.UseWebAssemblyDebugging();
-}
-else
-{
+else {
     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();
@@ -26,9 +23,8 @@ app.UseStaticFiles();
 
 app.UseRouting();
 
-
 app.MapRazorPages();
 app.MapControllers();
 app.MapFallbackToFile("index.html");
 
-app.Run();
+app.Run();
\ No newline at end of file