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 +}