Log 'ASPNETCORE_ENVIRONMENT' value at application startup

pull/2636/head
Mark Monteiro 5 years ago
parent 54cbf9c4dc
commit 0e3d319a3a

@ -902,7 +902,8 @@ namespace Emby.Server.Implementations
var jellyfinEnvVars = new Dictionary<object, object>();
foreach (var key in allEnvVars.Keys)
{
if (key.ToString().StartsWith("JELLYFIN_", StringComparison.OrdinalIgnoreCase))
string keyName = key.ToString();
if (keyName == "ASPNETCORE_ENVIRONMENT" || keyName.StartsWith("JELLYFIN_", StringComparison.OrdinalIgnoreCase))
{
jellyfinEnvVars.Add(key, allEnvVars[key]);
}

Loading…
Cancel
Save