mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
commit
be939dd943
1 changed files with 3 additions and 6 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue