From 942a962fcca8988a63c76935a4f51b1e11745584 Mon Sep 17 00:00:00 2001
From: Simon <63975668+Simyon264@users.noreply.github.com>
Date: Sun, 18 Feb 2024 20:42:38 +0100
Subject: [PATCH] Fix hopefully?
---
SU.LorePage/Program.cs | 2 +-
SU.LorePage/SU.LorePage.csproj | 6 ------
SU.LorePage/appsettings.json | 4 ++--
3 files changed, 3 insertions(+), 9 deletions(-)
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"
}
}
}