浏览代码

Add --nowebcontent command line flag

Added without any functionality
Mark Monteiro 5 年之前
父节点
当前提交
0996ce2898
共有 1 个文件被更改,包括 6 次插入0 次删除
  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>