summaryrefslogtreecommitdiffstats
path: root/src/server/Startup.cs
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-01-23 14:48:38 +0100
committerivarlovlie <git@ivarlovlie.no>2022-01-23 14:48:38 +0100
commitad8a8095e3942dc8c33c89a41a3ad31200a60472 (patch)
tree29f4dcda6bf65f6bf80f54fa803b03d2acdf1eda /src/server/Startup.cs
parent6c13723290e1788eb1f1a31c2081d19dae999b4f (diff)
downloadbookmark-thing-ad8a8095e3942dc8c33c89a41a3ad31200a60472.tar.xz
bookmark-thing-ad8a8095e3942dc8c33c89a41a3ad31200a60472.zip
feat: Execute startup tasks
Diffstat (limited to 'src/server/Startup.cs')
-rw-r--r--src/server/Startup.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/Startup.cs b/src/server/Startup.cs
index f96d23b..a1b6eb1 100644
--- a/src/server/Startup.cs
+++ b/src/server/Startup.cs
@@ -26,6 +26,8 @@ public class Startup
services.AddDataProtection()
.PersistKeysToFileSystem(new(AppPaths.DataProtectionKeys.HostPath));
+ StartupTasks.Execute();
+
if (WebHostEnvironment.IsDevelopment()) {
services.AddCors();
}