fix(api): remove domain checks from searchVideos
This commit is contained in:
parent
b48ee588aa
commit
8edca3678d
1 changed files with 0 additions and 1 deletions
|
|
@ -526,7 +526,6 @@ export class LosslessAPI {
|
||||||
try {
|
try {
|
||||||
const response = await this.fetchWithRetry(`/search/?v=${encodeURIComponent(query)}`, {
|
const response = await this.fetchWithRetry(`/search/?v=${encodeURIComponent(query)}`, {
|
||||||
...options,
|
...options,
|
||||||
allowedDomains: ['api.monochrome.tf', 'arran.monochrome.tf'],
|
|
||||||
});
|
});
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
const normalized = this.normalizeSearchResponse(data, 'videos');
|
const normalized = this.normalizeSearchResponse(data, 'videos');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue