From 560fc9a1c47f6ae30c29746b04cd26589474e717 Mon Sep 17 00:00:00 2001 From: Ayush-mishra001 Date: Wed, 5 Nov 2025 22:14:10 +0530 Subject: [PATCH] Update Program.cs --- AgentPortalApiGateway/Program.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/AgentPortalApiGateway/Program.cs b/AgentPortalApiGateway/Program.cs index fe96a3b..7b07735 100644 --- a/AgentPortalApiGateway/Program.cs +++ b/AgentPortalApiGateway/Program.cs @@ -15,11 +15,7 @@ namespace AgentPortalApiGateway; public class Program { - public static void Main(string[] args) - { - BuildWebHost(args).Run(); - } - + public static IWebHost BuildWebHost(string[] args) { var key = Encoding.ASCII.GetBytes("THIS_IS_A_RANDOM_SECRET_2e7a1e80-16ee-4e52-b5c6-5e8892453459"); @@ -76,4 +72,4 @@ public static IWebHost BuildWebHost(string[] args) }) .Build(); } -} \ No newline at end of file +}