feat: Use MapStaticAssets over UseStaticFiles
This commit is contained in:
@@ -52,7 +52,7 @@ app.UseHttpsRedirection();
|
||||
app.UseResponseCompression();
|
||||
|
||||
|
||||
app.UseStaticFiles();
|
||||
app.MapStaticAssets();
|
||||
app.UseAntiforgery();
|
||||
|
||||
app.MapRazorComponents<App>()
|
||||
|
||||
Reference in New Issue
Block a user