25-08-2023

This commit is contained in:
Jonathan Jenne
2023-08-28 12:15:22 +02:00
parent 3ecd9ecb27
commit 48d44562f3
423 changed files with 10649 additions and 39 deletions

View File

@@ -1,3 +1,4 @@
using EnvelopeGenerator.Web.Handler;
using EnvelopeGenerator.Web.Services;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
@@ -33,6 +34,9 @@ app.UseStaticFiles();
// Add a router
app.UseRouting();
// Add file download endpoint
app.MapGet("/api/download/{docId}", FileHandler.HandleFile);
// Blazor plumbing
app.MapBlazorHub();
app.MapFallbackToPage("/_Host");