Explorar o código

Add --nowebcontent command line flag

Added without any functionality
Mark Monteiro %!s(int64=5) %!d(string=hai) anos
pai
achega
0996ce2898
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      Jellyfin.Server/StartupOptions.cs

+ 6 - 0
Jellyfin.Server/StartupOptions.cs

@@ -15,6 +15,12 @@ namespace Jellyfin.Server
         [Option('d', "datadir", Required = false, HelpText = "Path to use for the data folder (database files, etc.).")]
         public string? DataDir { get; set; }
 
+        /// <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.")]
+        public bool NoWebContent { get; set; }
+
         /// <summary>
         /// Gets or sets the path to the web directory.
         /// </summary>