Merge pull request #3071 from tidusjar/develop

Develop
pull/3121/head
Jamie 5 years ago committed by GitHub
commit be939dd943
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -91,18 +91,15 @@ namespace Ombi
services.AddSwagger(); services.AddSwagger();
services.AddAppSettingsValues(Configuration); services.AddAppSettingsValues(Configuration);
var i = StoragePathSingleton.Instance;
if (string.IsNullOrEmpty(i.StoragePath))
{
i.StoragePath = string.Empty;
}
services.AddHangfire(x => services.AddHangfire(x =>
{ {
x.UseMemoryStorage(); x.UseMemoryStorage();
x.UseActivator(new IoCJobActivator(services.BuildServiceProvider())); x.UseActivator(new IoCJobActivator(services.BuildServiceProvider()));
}); });
SQLitePCL.raw.sqlite3_config(2);
services.AddCors(o => o.AddPolicy("MyPolicy", builder => services.AddCors(o => o.AddPolicy("MyPolicy", builder =>
{ {
builder.AllowAnyOrigin() builder.AllowAnyOrigin()

Loading…
Cancel
Save