diff --git a/api/src/stream/types.js b/api/src/stream/types.js index b12e5de8..01b79dc1 100644 --- a/api/src/stream/types.js +++ b/api/src/stream/types.js @@ -45,6 +45,8 @@ export async function streamDefault(streamInfo, res) { if (streamInfo.isAudioOnly) { filename = `${streamInfo.filename}.${streamInfo.audioFormat}` } + + res.setHeader("Cross-Origin-Resource-Policy", "cross-origin"); res.setHeader('Content-disposition', contentDisposition(filename)); const { body: stream, headers } = await request(streamInfo.urls, {