diff options
Diffstat (limited to 'server/tests/api/redundancy/redundancy.ts')
-rw-r--r-- | server/tests/api/redundancy/redundancy.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index ba6b00e0b..fb2e6e91c 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts | |||
@@ -125,7 +125,7 @@ async function check1WebSeed (videoUUID?: string) { | |||
125 | if (!videoUUID) videoUUID = video1Server2.uuid | 125 | if (!videoUUID) videoUUID = video1Server2.uuid |
126 | 126 | ||
127 | const webseeds = [ | 127 | const webseeds = [ |
128 | `http://localhost:${servers[1].port}/static/webseed/` | 128 | `${servers[1].url}/static/webseed/` |
129 | ] | 129 | ] |
130 | 130 | ||
131 | for (const server of servers) { | 131 | for (const server of servers) { |
@@ -144,8 +144,8 @@ async function check2Webseeds (videoUUID?: string) { | |||
144 | if (!videoUUID) videoUUID = video1Server2.uuid | 144 | if (!videoUUID) videoUUID = video1Server2.uuid |
145 | 145 | ||
146 | const webseeds = [ | 146 | const webseeds = [ |
147 | `http://localhost:${servers[0].port}/static/redundancy/`, | 147 | `${servers[0].url}/static/redundancy/`, |
148 | `http://localhost:${servers[1].port}/static/webseed/` | 148 | `${servers[1].url}/static/webseed/` |
149 | ] | 149 | ] |
150 | 150 | ||
151 | for (const server of servers) { | 151 | for (const server of servers) { |