Skip to content

Commit

Permalink
fix map static not found
Browse files Browse the repository at this point in the history
  • Loading branch information
moonheart authored Nov 29, 2024
1 parent 71c7273 commit d948d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MementoMori.WebUI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static void Main(string[] args)
// Configure the HTTP request pipeline.
if (!app.Environment.IsDevelopment()) app.UseExceptionHandler("/Error");

app.MapStaticAssets();
app.UseStaticFiles();
app.UseAntiforgery();
app.MapRazorComponents<App>()
.AddAdditionalAssemblies(typeof(Index).Assembly)
Expand Down

0 comments on commit d948d82

Please sign in to comment.