Make startup config nullable when configuring app configuration

This commit is contained in:
Mark Monteiro 2020-03-15 13:15:47 +01:00
parent a67e32f8ec
commit 6a6293afc7

View File

@ -499,7 +499,7 @@ namespace Jellyfin.Server
.Build();
}
private static IConfigurationBuilder ConfigureAppConfiguration(this IConfigurationBuilder config, IApplicationPaths appPaths, IConfiguration startupConfig = null)
private static IConfigurationBuilder ConfigureAppConfiguration(this IConfigurationBuilder config, IApplicationPaths appPaths, IConfiguration? startupConfig = null)
{
// Use the swagger API page as the default redirect path if not hosting the jellyfin-web content
var inMemoryDefaultConfig = ConfigurationOptions.DefaultConfiguration;