Add trap logging, dashboard, EF migrations and Dockerfile
This commit is contained in:
1 parent
f9161f48e7
commit
b561924efa
26 files changed
+784
-62
No files matched your search
@@ -14,6 +14,8 @@ builder.Services.AddFlypaperStorage(builder.Configuration.GetConnectionString("F
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
await app.Services.MigrateFlypaperDatabaseAsync();
|
||||
|
||||
app.UseFlypaper();
|
||||
|
||||
if (!app.Environment.IsDevelopment())
|
||||
@@ -27,4 +29,4 @@ app.UseAntiforgery();
|
||||
app.MapStaticAssets();
|
||||
app.MapRazorComponents<App>();
|
||||
|
||||
app.Run();
|
||||
await app.RunAsync();
|
||||
Reference in new issue
Block a user