mirror of
https://github.com/movie-web/providers.git
synced 2025-09-13 12:43:25 +00:00
filemoon added CORS
This commit is contained in:
@@ -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,
|
||||
},
|
||||
],
|
||||
|
Reference in New Issue
Block a user