Skip to content

Commit

Permalink
Move MapStaticAssets
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed Nov 14, 2024
1 parent cbbdc2f commit 4718659
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,12 @@

app.UseHttpsRedirection();

// app.UseStaticFiles();

app.UseRouting();

app.MapStaticAssets();

app.UseOutputCache();

app.UseAuthentication();
Expand All @@ -96,8 +100,6 @@
Directory.CreateDirectory($"{builder.Environment.ContentRootPath}/Data");
}

app.MapStaticAssets();

app.MapTus("/import", TusConfigurationFactory);

app.MapControllers();
Expand Down

0 comments on commit 4718659

Please sign in to comment.