From 44df702502ff5defc42b262b15507f6d88aacc50 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 Oct 2022 10:55:12 +0200 Subject: More robust updateTorrentMetadata --- server/tests/shared/streaming-playlists.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/tests/shared') diff --git a/server/tests/shared/streaming-playlists.ts b/server/tests/shared/streaming-playlists.ts index 8ee04d921..824c3dcef 100644 --- a/server/tests/shared/streaming-playlists.ts +++ b/server/tests/shared/streaming-playlists.ts @@ -113,7 +113,7 @@ async function completeCheckHlsPlaylist (options: { expect(file.magnetUri).to.have.lengthOf.above(2) expect(file.torrentUrl).to.match( - new RegExp(`http://${server.host}/lazy-static/torrents/${uuidRegex}-${file.resolution.id}-hls.torrent`) + new RegExp(`${server.url}/lazy-static/torrents/${uuidRegex}-${file.resolution.id}-hls.torrent`) ) if (objectStorageBaseUrl) { -- cgit v1.2.3