mirror of
https://github.com/danbulant/Mangades
synced 2026-07-07 12:00:36 +00:00
use proxy
This commit is contained in:
parent
dff2f98172
commit
7b350219bf
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
const base = "https://api.mangadex.org/";
|
const base = "https://cors-anywhere.danbulant.workers.dev/?https://api.mangadex.org/";
|
||||||
|
|
||||||
function request(endpoint, query, type = "GET", body) {
|
function request(endpoint, query, type = "GET", body) {
|
||||||
return fetch(base + endpoint + (query ? "?" + query : ""), {
|
return fetch(base + endpoint + (query ? "?" + query : ""), {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue