mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
!wip downgrade
This commit is contained in:
parent
59d2020b2e
commit
209b7cf50b
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ using Microsoft.AspNetCore.Http;
|
|||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.PlatformAbstractions;
|
||||
using Microsoft.IdentityModel.Tokens;
|
||||
using Ombi.Config;
|
||||
using Ombi.Core.Authentication;
|
||||
|
@ -44,7 +45,7 @@ namespace Ombi
|
|||
}
|
||||
});
|
||||
c.CustomSchemaIds(x => x.FullName);
|
||||
var basePath = Directory.GetCurrentDirectory();
|
||||
var basePath = PlatformServices.Default.Application.ApplicationBasePath;
|
||||
var xmlPath = Path.Combine(basePath, "Swagger.xml");
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue