diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index e0ef4767b..72b212841 100755 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -91,18 +91,15 @@ namespace Ombi services.AddSwagger(); services.AddAppSettingsValues(Configuration); - var i = StoragePathSingleton.Instance; - if (string.IsNullOrEmpty(i.StoragePath)) - { - i.StoragePath = string.Empty; - } - services.AddHangfire(x => { x.UseMemoryStorage(); x.UseActivator(new IoCJobActivator(services.BuildServiceProvider())); }); + + SQLitePCL.raw.sqlite3_config(2); + services.AddCors(o => o.AddPolicy("MyPolicy", builder => { builder.AllowAnyOrigin()