Skip to content

Commit 4871935

Browse files
committed
use MapStaticAssets() instead UseStaticFiles()
1 parent ed8e367 commit 4871935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Todo.Web/Server/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
}
4141

4242
app.UseHttpsRedirection();
43-
app.UseStaticFiles();
43+
app.MapStaticAssets();
4444
app.UseAntiforgery();
4545

4646
app.MapRazorComponents<App>()

0 commit comments

Comments
 (0)