From e7a776640b877180f0d965797ad151f1c860ecfc Mon Sep 17 00:00:00 2001 From: Jamie Date: Wed, 24 Oct 2018 19:26:44 +0100 Subject: [PATCH] Fixed the issue with mobile notifications --- src/Ombi/Startup.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index cad5da907..7e3f48c8f 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -207,7 +207,11 @@ namespace Ombi var jobSetup = app.ApplicationServices.GetService(); jobSetup.Setup(); ctx.Seed(); - + var settingsctx = serviceProvider.GetService(); + var externalctx = serviceProvider.GetService(); + settingsctx.Seed(); + externalctx.Seed(); + var provider = new FileExtensionContentTypeProvider { Mappings = { [".map"] = "application/octet-stream" } }; app.UseStaticFiles(new StaticFileOptions()