!wip downgrade

pull/2478/head
Jamie Rees 6 years ago
parent 59d2020b2e
commit 209b7cf50b

@ -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…
Cancel
Save