Jelajahi Sumber

Use the same key constant for command line config and all other config

Mark Monteiro 5 tahun lalu
induk
melakukan
5d48259046
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      Jellyfin.Server/StartupOptions.cs

+ 1 - 1
Jellyfin.Server/StartupOptions.cs

@@ -21,7 +21,7 @@ namespace Jellyfin.Server
         /// <summary>
         /// Gets or sets a value indicating whether the server should not host static web content.
         /// </summary>
-        [Option("nowebcontent", Required = false, HelpText = "Indicates that the web server should not host any static web content.")]
+        [Option(ConfigurationExtensions.NoWebContentKey, Required = false, HelpText = "Indicates that the web server should not host any static web content.")]
         public bool NoWebContent { get; set; }
 
         /// <summary>