Kestrel only requires 127.0.0.1

This commit is contained in:
flightlevel
2018-08-29 19:28:45 +10:00
parent fffd53cc1f
commit 8f1f41a4a1
2 changed files with 2 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ namespace Jackett.Server
ServerConfig serverConfig = configurationService.BuildServerConfig(Settings);
Int32.TryParse(serverConfig.Port.ToString(), out Int32 configPort);
string[] url = serverConfig.GetListenAddresses(serverConfig.AllowExternal).Take(1).ToArray(); //Kestrel doesn't need 127.0.0.1 and localhost to be registered, remove once off OWIN
string[] url = serverConfig.GetListenAddresses(serverConfig.AllowExternal);
isWebHostRestart = false;