aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/server/server.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-12-09 11:14:47 +0100
committerChocobozzz <me@florianbigard.com>2022-12-12 13:36:23 +0100
commit2732eeff9e6994582293b5aaa0cb158b7e272e9e (patch)
tree417d30cf470cd1db84e06c5dbd1b5429d4b99bc1 /shared/server-commands/server/server.ts
parentc7c5f8d0f17b0ab598fbe237f11639c6de28110c (diff)
downloadPeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.gz
PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.tar.zst
PeerTube-2732eeff9e6994582293b5aaa0cb158b7e272e9e.zip
Fix CI using 127.0.0.1 for tests
Diffstat (limited to 'shared/server-commands/server/server.ts')
-rw-r--r--shared/server-commands/server/server.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts
index f2ca51431..ae1395a74 100644
--- a/shared/server-commands/server/server.ts
+++ b/shared/server-commands/server/server.ts
@@ -179,9 +179,9 @@ export class PeerTubeServer {
179 this.rtmpsPort = this.parallel ? this.randomRTMP() : 1937 179 this.rtmpsPort = this.parallel ? this.randomRTMP() : 1937
180 this.port = 9000 + this.internalServerNumber 180 this.port = 9000 + this.internalServerNumber
181 181
182 this.url = `http://localhost:${this.port}` 182 this.url = `http://127.0.0.1:${this.port}`
183 this.host = `localhost:${this.port}` 183 this.host = `127.0.0.1:${this.port}`
184 this.hostname = 'localhost' 184 this.hostname = '127.0.0.1'
185 } 185 }
186 186
187 setUrl (url: string) { 187 setUrl (url: string) {