resolve loop when updating local ports
This commit is contained in:
parent
5d4fec778c
commit
886033be24
|
@ -843,10 +843,13 @@ namespace MediaBrowser.Server.Startup.Common
|
||||||
if (ServerConfigurationManager.Configuration.HttpServerPortNumber != HttpPort ||
|
if (ServerConfigurationManager.Configuration.HttpServerPortNumber != HttpPort ||
|
||||||
ServerConfigurationManager.Configuration.HttpsPortNumber != HttpsPort)
|
ServerConfigurationManager.Configuration.HttpsPortNumber != HttpsPort)
|
||||||
{
|
{
|
||||||
ServerConfigurationManager.Configuration.IsPortAuthorized = false;
|
if (ServerConfigurationManager.Configuration.IsPortAuthorized)
|
||||||
ServerConfigurationManager.SaveConfiguration();
|
{
|
||||||
|
ServerConfigurationManager.Configuration.IsPortAuthorized = false;
|
||||||
|
ServerConfigurationManager.SaveConfiguration();
|
||||||
|
|
||||||
requiresRestart = true;
|
requiresRestart = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user