diff options
| author | transtrike <transtrike@gmail.com> | 2020-12-10 13:45:35 +0200 |
|---|---|---|
| committer | transtrike <transtrike@gmail.com> | 2020-12-10 13:45:35 +0200 |
| commit | f50957985300c3bfc6ae5564d7eaa67e099ca8f2 (patch) | |
| tree | c604cb0fe583bd3f4d3ab25c8ce26a56a0df2332 /API/Program.cs | |
| parent | 2d1a5bdcafd30dca9d21ac765d9b5f6103129902 (diff) | |
| download | DevHive-f50957985300c3bfc6ae5564d7eaa67e099ca8f2.tar DevHive-f50957985300c3bfc6ae5564d7eaa67e099ca8f2.tar.gz DevHive-f50957985300c3bfc6ae5564d7eaa67e099ca8f2.zip | |
Change HTTP port
Diffstat (limited to 'API/Program.cs')
| -rw-r--r-- | API/Program.cs | 16 |
1 files changed, 8 insertions, 8 deletions
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<Startup>();
- });
- }
+ webBuilder.UseStartup<Startup>();
+ });
+ }
}
|
