diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-04-01 22:42:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-01 22:42:43 +0200 |
| commit | f31efce52db9dbd726cce55ea099c0c5165da566 (patch) | |
| tree | b07d4daa00a930e744008d0955e35a9102e85052 /Emby.Server.Implementations/ConfigurationOptions.cs | |
| parent | ddd5d3aaecd2837e37c6570af4e798b64a862348 (diff) | |
| parent | 07ea120ba961c20717dba625edb462d09e5ebec3 (diff) | |
Merge branch 'master' into usings
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 } |
