consumet / consumet.ts

Nodejs library that provides high-level APIs for obtaining information on various entertainment media such as books, movies, comic books, anime, manga, and so on.
https://consumet.org/extensions/list/
GNU General Public License v3.0
393 stars 222 forks source link

Cors origin policy #421

Closed adiyat-shihab closed 9 months ago

adiyat-shihab commented 9 months ago

Describe the bug

when i use the getcomic api i was blocked by cors origin policy

Steps to reproduce

Access to XMLHttpRequest at 'https://getcomics.info//page/1/?s=Batman' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Expected behavior

..

Actual behavior

Access to XMLHttpRequest at 'https://getcomics.info//page/1/?s=Batman' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Additional context

Why not you create an read comic online api ?

riimuru commented 9 months ago

@adiyat-shihab Please refer to CORS and M3U8 Proxies Post on discord help channel for possible fixes.