aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Monteiro <marknr.monteiro@protonmail.com>2020-03-15 15:31:43 +0100
committerMark Monteiro <marknr.monteiro@protonmail.com>2020-03-15 15:31:43 +0100
commit0996ce28987027afe5943ca9787d4a5695c2ee0a (patch)
treebdc776d98282feb7a2c0a61383f4d51631550c04
parent7e3caec5836c0afeec58215ac33d625fa7f6fefa (diff)
Add --nowebcontent command line flag
Added without any functionality
-rw-r--r--Jellyfin.Server/StartupOptions.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Jellyfin.Server/StartupOptions.cs b/Jellyfin.Server/StartupOptions.cs
index 1fb1c5af8..42c5fa86e 100644
--- a/Jellyfin.Server/StartupOptions.cs
+++ b/Jellyfin.Server/StartupOptions.cs
@@ -16,6 +16,12 @@ namespace Jellyfin.Server
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>
/// <value>The path to the web directory.</value>