浏览代码

Make startup config nullable when configuring app configuration

Mark Monteiro 5 年之前
父节点
当前提交
6a6293afc7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Jellyfin.Server/Program.cs

+ 1 - 1
Jellyfin.Server/Program.cs

@@ -499,7 +499,7 @@ namespace Jellyfin.Server
                 .Build();
                 .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
             // Use the swagger API page as the default redirect path if not hosting the jellyfin-web content
             var inMemoryDefaultConfig = ConfigurationOptions.DefaultConfiguration;
             var inMemoryDefaultConfig = ConfigurationOptions.DefaultConfiguration;