aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/shared
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/shared')
-rw-r--r--server/controllers/shared/m3u8-playlist.ts18
1 files changed, 0 insertions, 18 deletions
diff --git a/server/controllers/shared/m3u8-playlist.ts b/server/controllers/shared/m3u8-playlist.ts
deleted file mode 100644
index cea5eb5d2..000000000
--- a/server/controllers/shared/m3u8-playlist.ts
+++ /dev/null
@@ -1,18 +0,0 @@
1import express from 'express'
2
3function doReinjectVideoFileToken (req: express.Request) {
4 return req.query.videoFileToken && req.query.reinjectVideoFileToken
5}
6
7function buildReinjectVideoFileTokenQuery (req: express.Request, isMaster: boolean) {
8 const query = 'videoFileToken=' + req.query.videoFileToken
9 if (isMaster) {
10 return query + '&reinjectVideoFileToken=true'
11 }
12 return query
13}
14
15export {
16 doReinjectVideoFileToken,
17 buildReinjectVideoFileTokenQuery
18}