remove static serving & ely realm prep

This commit is contained in:
rafi1212122
2023-06-04 15:23:53 +07:00
parent c7f0c661ed
commit 9cf5e313a3
6 changed files with 53 additions and 10 deletions

View File

@@ -24,7 +24,6 @@ namespace HttpServer
AccountController.AddHandlers(app);
ConfigController.AddHandlers(app);
app.UseStaticFiles(new StaticFileOptions() { FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), "wwwroot")) });
app.UseMiddleware<RequestLoggingMiddleware>();
c.Log($"HTTP server started on port 80 & 443"); // A lie
app.Run();