aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/controllers/live.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/live.ts b/server/controllers/live.ts
index fa4c2cc1a..5feadae72 100644
--- a/server/controllers/live.ts
+++ b/server/controllers/live.ts
@@ -1,3 +1,4 @@
1import * as cors from 'cors'
1import * as express from 'express' 2import * as express from 'express'
2import { mapToJSON } from '@server/helpers/core-utils' 3import { mapToJSON } from '@server/helpers/core-utils'
3import { LiveManager } from '@server/lib/live-manager' 4import { LiveManager } from '@server/lib/live-manager'
@@ -5,6 +6,7 @@ import { LiveManager } from '@server/lib/live-manager'
5const liveRouter = express.Router() 6const liveRouter = express.Router()
6 7
7liveRouter.use('/segments-sha256/:videoUUID', 8liveRouter.use('/segments-sha256/:videoUUID',
9 cors(),
8 getSegmentsSha256 10 getSegmentsSha256
9) 11)
10 12