diff --git a/src/WorkFlowCheck.API/Program.cs b/src/WorkFlowCheck.API/Program.cs index 8472790..b534504 100644 --- a/src/WorkFlowCheck.API/Program.cs +++ b/src/WorkFlowCheck.API/Program.cs @@ -8,6 +8,14 @@ using Microsoft.AspNetCore.Mvc; var builder = WebApplication.CreateBuilder(args); +builder.WebHost.ConfigureKestrel(options => +{ + options.ListenAnyIP(5069, listenOptions => + { + listenOptions.UseHttps(Path.Combine(AppContext.BaseDirectory, "Certs", "SwaggerCert.pfx"), "Noispot135!Xy()zz654321"); + }); +}); + builder.Services.AddDbContext(options => options.UseSqlServer(builder.Configuration.GetConnectionString("DefaultConnection"))); diff --git a/src/WorkFlowCheck.API/Properties/launchSettings.json b/src/WorkFlowCheck.API/Properties/launchSettings.json index 55f2dec..2bc9139 100644 --- a/src/WorkFlowCheck.API/Properties/launchSettings.json +++ b/src/WorkFlowCheck.API/Properties/launchSettings.json @@ -6,7 +6,7 @@ "dotnetRunMessages": true, "launchBrowser": true, "launchUrl": "todos", - "applicationUrl": "https://localhost:5069", + "applicationUrl": "https://192.168.50.128:5069", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/src/WorkFlowCheck.API/WorkFlowCheck.API.csproj b/src/WorkFlowCheck.API/WorkFlowCheck.API.csproj index 68a71bf..45ebccc 100644 --- a/src/WorkFlowCheck.API/WorkFlowCheck.API.csproj +++ b/src/WorkFlowCheck.API/WorkFlowCheck.API.csproj @@ -18,4 +18,10 @@ + + + Always + + +