Skip to content

The Free Software Media System - Server Backend & API

Add --nowebcontent command line flag

Mark Monteiro0996ce289870
diff --git a/Jellyfin.Server/StartupOptions.cs b/Jellyfin.Server/StartupOptions.cs
index 1fb1c5af8e..42c5fa86e3 100644
--- a/Jellyfin.Server/StartupOptions.cs
+++ b/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>