mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02: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:
parent
78a9adbbcc
commit
3efe465114
@ -175,9 +175,15 @@ private static void UpdateIISConfig()
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user