Skip to content

Commit

Permalink
Fix hopefully?
Browse files Browse the repository at this point in the history
  • Loading branch information
Simyon264 committed Feb 18, 2024
1 parent 3b216e0 commit 942a962
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion SU.LorePage/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
6 changes: 0 additions & 6 deletions SU.LorePage/SU.LorePage.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,4 @@
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<Content Include="appsettings.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions SU.LorePage/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
"Kestrel": {
"EndPoints": {
"Https": {
"Url": "http://*:6000"
"Url": "https://*:7500"
},
"Http": {
"Url": "http://*:6001"
"Url": "http://*:7501"
}
}
}
Expand Down

0 comments on commit 942a962

Please sign in to comment.