Skip to content

Commit

Permalink
Removed listening on port 80
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Moksnes committed Oct 26, 2020
1 parent 09112d6 commit a88cd3e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions ProxyServerModuleUnit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,14 @@ procedure TProxyServerModule.StartServer;

try
fServer.Bindings.Clear;
// Needed by NextPVR to find lineup.xml
with fServer.Bindings.Add do
if FindCmdLineSwitch('port80') then
begin
IP := lListenIP;
Port := 80;
// Previously needed by NextPVR, but does not appear to be the case any more.
with fServer.Bindings.Add do
begin
IP := lListenIP;
Port := 80;
end;
end;
with fServer.Bindings.Add do
begin
Expand Down

0 comments on commit a88cd3e

Please sign in to comment.