aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/hls.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-03 09:33:05 +0100
committerChocobozzz <me@florianbigard.com>2021-02-03 09:45:08 +0100
commitba5a8d89bbf049e4afc41543bcc072cccdb02669 (patch)
tree6cc6b2dca17745cc0824c7ad4515f3bc4883fa4a /server/lib/hls.ts
parent29f148a61381727a432c22a71c7a2b7cc23d9c9e (diff)
downloadPeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.gz
PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.tar.zst
PeerTube-ba5a8d89bbf049e4afc41543bcc072cccdb02669.zip
Update server dependencies
Diffstat (limited to 'server/lib/hls.ts')
-rw-r--r--server/lib/hls.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/hls.ts b/server/lib/hls.ts
index 9ea83f337..ef489097a 100644
--- a/server/lib/hls.ts
+++ b/server/lib/hls.ts
@@ -111,7 +111,7 @@ function downloadPlaylistSegments (playlistUrl: string, destinationDir: string,
111 111
112 logger.info('Importing HLS playlist %s', playlistUrl) 112 logger.info('Importing HLS playlist %s', playlistUrl)
113 113
114 return new Promise<string>(async (res, rej) => { 114 return new Promise<void>(async (res, rej) => {
115 const tmpDirectory = join(CONFIG.STORAGE.TMP_DIR, await generateRandomString(10)) 115 const tmpDirectory = join(CONFIG.STORAGE.TMP_DIR, await generateRandomString(10))
116 116
117 await ensureDir(tmpDirectory) 117 await ensureDir(tmpDirectory)