Browse Source

Add --nowebcontent command line flag

Added without any functionality
Mark Monteiro 5 years ago
parent
commit
0996ce2898
1 changed files with 6 additions and 0 deletions
  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>