Skip to content

Commit

Permalink
Allow port choices for apps to start from 1 (#14114)
Browse files Browse the repository at this point in the history
This commit adds changes to allow port choices for apps to start from 1 as we already validate if the port is in use or not (earlier it was 1025).
  • Loading branch information
sonicaj authored Jul 30, 2024
1 parent c13c74d commit 948e250
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ async def get_normalized_questions_context(self):
return {
'timezones': await self.middleware.call('system.general.timezone_choices'),
'system.general.config': await self.middleware.call('system.general.config'),
'unused_ports': await self.middleware.call('port.get_unused_ports'),
'unused_ports': await self.middleware.call('port.get_unused_ports', 1),
'certificates': await self.middleware.call('app.certificate_choices'),
'certificate_authorities': await self.middleware.call('app.certificate_authority_choices'),
'ip_choices': await self.middleware.call('app.ip_choices'),
Expand Down

0 comments on commit 948e250

Please sign in to comment.