From 7b350219bf6367caffbcb125cde6cf1e624197e0 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 22 May 2021 13:38:26 +0200 Subject: [PATCH] use proxy --- src/util/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/request.js b/src/util/request.js index 3e52bc5..0368624 100644 --- a/src/util/request.js +++ b/src/util/request.js @@ -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) { return fetch(base + endpoint + (query ? "?" + query : ""), {