mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Log 'ASPNETCORE_ENVIRONMENT' value at application startup
This commit is contained in:
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…
Reference in New Issue
Block a user