diff --git a/SU.LorePage/Program.cs b/SU.LorePage/Program.cs index 02173f8..8efff77 100644 --- a/SU.LorePage/Program.cs +++ b/SU.LorePage/Program.cs @@ -8,7 +8,7 @@ builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); -builder.Configuration.AddJsonFile("appsettings.json"); +builder.Configuration.AddJsonFile("appsettings.json", optional: true); var app = builder.Build(); diff --git a/SU.LorePage/SU.LorePage.csproj b/SU.LorePage/SU.LorePage.csproj index f5fac50..723dec4 100644 --- a/SU.LorePage/SU.LorePage.csproj +++ b/SU.LorePage/SU.LorePage.csproj @@ -12,10 +12,4 @@ - - - - PreserveNewest - - diff --git a/SU.LorePage/appsettings.json b/SU.LorePage/appsettings.json index 0b484e4..3419da8 100644 --- a/SU.LorePage/appsettings.json +++ b/SU.LorePage/appsettings.json @@ -3,10 +3,10 @@ "Kestrel": { "EndPoints": { "Https": { - "Url": "http://*:6000" + "Url": "https://*:7500" }, "Http": { - "Url": "http://*:6001" + "Url": "http://*:7501" } } }