Skip to content

Commit 30d50ef

Browse files
Copilotcsharpfritz
andcommitted
Initial setup: Fix .NET version compatibility for development
Co-authored-by: csharpfritz <[email protected]>
1 parent df24ce0 commit 30d50ef

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

Web/Program.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@
2929

3030
app.UseAuthorization();
3131

32-
app.MapStaticAssets();
33-
app.MapRazorPages()
34-
.WithStaticAssets();
32+
app.UseStaticFiles();
33+
app.MapRazorPages();
3534
app.MapControllers(); // Map controller routes for API endpoints
3635

3736
// Map sitemap and RSS feed endpoints

Web/Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22

33
<PropertyGroup>
4-
<TargetFramework>net9.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
</PropertyGroup> <ItemGroup>

0 commit comments

Comments
 (0)