mirror of
https://github.com/sussy-code/providers.git
synced 2026-04-07 10:19:25 +00:00
filemoon added CORS
This commit is contained in:
parent
d7134d4daf
commit
605b9d78d1
1 changed files with 1 additions and 3 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import { unpack } from 'unpacker';
|
||||
|
||||
import { flags } from '@/entrypoint/utils/targets';
|
||||
|
||||
import { SubtitleResult } from './types';
|
||||
import { makeEmbed } from '../../base';
|
||||
import { Caption, getCaptionTypeFromUrl, labelToLanguageCode } from '../../captions';
|
||||
|
|
@ -51,7 +49,7 @@ export const fileMoonScraper = makeEmbed({
|
|||
id: 'primary',
|
||||
type: 'hls',
|
||||
playlist: file[1],
|
||||
flags: [flags.CORS_ALLOWED],
|
||||
flags: [],
|
||||
captions,
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue