diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2020-04-01 23:38:43 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-01 23:38:43 +0300 |
| commit | 07ea120ba961c20717dba625edb462d09e5ebec3 (patch) | |
| tree | 1e1c03d9afafb0ce9cdcf12153a0bb58a477dfe4 /Emby.Server.Implementations/ConfigurationOptions.cs | |
| parent | 10275a1f32908a2b0c27b97563fbf8f55f4f3146 (diff) | |
| parent | 861bad1edaec10fa03d2f7cf12bb8b7b6ae1802c (diff) | |
Merge pull request #2601 from mark-monteiro/support-running-without-web-content
Support Running Server Without Web Content
Diffstat (limited to 'Emby.Server.Implementations/ConfigurationOptions.cs')
| -rw-r--r-- | Emby.Server.Implementations/ConfigurationOptions.cs | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/ConfigurationOptions.cs b/Emby.Server.Implementations/ConfigurationOptions.cs index 31fb5ca58..4574a64fd 100644 --- a/Emby.Server.Implementations/ConfigurationOptions.cs +++ b/Emby.Server.Implementations/ConfigurationOptions.cs @@ -1,13 +1,22 @@ using System.Collections.Generic; +using Emby.Server.Implementations.HttpServer; +using MediaBrowser.Providers.Music; using static MediaBrowser.Controller.Extensions.ConfigurationExtensions; namespace Emby.Server.Implementations { + /// <summary> + /// Static class containing the default configuration options for the web server. + /// </summary> public static class ConfigurationOptions { - public static Dictionary<string, string> Configuration => new Dictionary<string, string> + /// <summary> + /// Gets a new copy of the default configuration options. + /// </summary> + public static Dictionary<string, string> DefaultConfiguration => new Dictionary<string, string> { - { "HttpListenerHost:DefaultRedirectPath", "web/index.html" }, + { HostWebClientKey, bool.TrueString }, + { HttpListenerHost.DefaultRedirectKey, "web/index.html" }, { FfmpegProbeSizeKey, "1G" }, { FfmpegAnalyzeDurationKey, "200M" }, { PlaylistsAllowDuplicatesKey, bool.TrueString } |
