1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-04 06:22:45 +00:00

Fix loopback address not working

This commit is contained in:
unknown 2015-07-19 18:06:21 -06:00
parent 211bfbfdf0
commit 69ef08f019

View file

@ -25,7 +25,7 @@ namespace Jackett.Models.Config
{
external = AllowExternal;
}
return "http://" + (external.Value ? "*" : "localhost") + ":" + Port + "/";
return "http://" + (external.Value ? "*" : "127.0.0.1") + ":" + Port + "/";
}
public string GenerateApi()