Refactor code structure for improved readability and maintainability

This commit is contained in:
Din
2025-08-08 12:26:54 +08:00
parent eceec1b72d
commit bb7c4c3d0e
11 changed files with 77 additions and 40 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ namespace ResourceMonitorService
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
webBuilder.UseUrls("http://localhost:5000", "https://localhost:5001");
// URLs are now configured via appsettings.{Environment}.json files
})
.ConfigureServices((hostContext, services) =>
{