aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/server/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-19 13:57:44 +0200
committerChocobozzz <me@florianbigard.com>2023-05-19 13:57:44 +0200
commitbe6162706703c2b2a715eaf7759c0f513a3fe765 (patch)
tree6269b1a5e70d42be00218732c53609a615d7a687 /shared/server-commands/server/server.ts
parentdef4ea4f3824689abd4ea66f5ab6e47d553b7ddd (diff)
downloadPeerTube-be6162706703c2b2a715eaf7759c0f513a3fe765.tar.gz
PeerTube-be6162706703c2b2a715eaf7759c0f513a3fe765.tar.zst
PeerTube-be6162706703c2b2a715eaf7759c0f513a3fe765.zip
Fix lowest server port
Diffstat (limited to 'shared/server-commands/server/server.ts')
-rw-r--r--shared/server-commands/server/server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts
index 598b7beed..66b7ff09d 100644
--- a/shared/server-commands/server/server.ts
+++ b/shared/server-commands/server/server.ts
@@ -325,7 +325,7 @@ export class PeerTubeServer {
325 } 325 }
326 326
327 private randomServer () { 327 private randomServer () {
328 const low = 10 328 const low = 2500
329 const high = 10000 329 const high = 10000
330 330
331 return randomInt(low, high) 331 return randomInt(low, high)