1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-25 01:06:30 +00:00

Added multiple bindings for IISExpress. Allowing users to not run as admin (or add an urlacl as admin), but still access NzbDrone from localhost.

This commit is contained in:
Mark McDowall 2011-09-20 22:41:44 -07:00
parent 78a9adbbcc
commit 3efe465114

View file

@ -175,9 +175,15 @@ namespace NzbDrone
bindings.Add(
new XElement("binding",
new XAttribute("protocol", "http"),
new XAttribute("bindingInformation", String.Format("*:{0}:", Config.Port))
new XAttribute("bindingInformation", String.Format("*:{0}:localhost", Config.Port))
));
bindings.Add(
new XElement("binding",
new XAttribute("protocol", "http"),
new XAttribute("bindingInformation", String.Format("*:{0}:", Config.Port))
));
configXml.Save(configPath);
}