From f50957985300c3bfc6ae5564d7eaa67e099ca8f2 Mon Sep 17 00:00:00 2001 From: transtrike Date: Thu, 10 Dec 2020 13:45:35 +0200 Subject: Change HTTP port --- API/Program.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'API/Program.cs') diff --git a/API/Program.cs b/API/Program.cs index 8125904..eedd5e1 100644 --- a/API/Program.cs +++ b/API/Program.cs @@ -4,13 +4,13 @@ using Microsoft.Extensions.Hosting; namespace API { public class Program - { - private const int HTTPS_PORT = 5020; + { + private const int HTTPS_PORT = 5000; public static void Main(string[] args) - { - CreateHostBuilder(args).Build().Run(); - } + { + CreateHostBuilder(args).Build().Run(); + } public static IHostBuilder CreateHostBuilder(string[] args) => Host.CreateDefaultBuilder(args) @@ -18,7 +18,7 @@ namespace API { webBuilder.ConfigureKestrel(opt => opt.ListenLocalhost(HTTPS_PORT)); - webBuilder.UseStartup(); - }); - } + webBuilder.UseStartup(); + }); + } } -- cgit v1.2.3