From ae232c3ee1591f95070697af5cf9f1e284978445 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 10 Sep 2024 08:59:18 +0100 Subject: [PATCH] fix(RepoPage): show readme for non github pages when disabling the proxy, the update inadvertantly prevented calling the original url. --- src/lib/stores/repo.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/stores/repo.ts b/src/lib/stores/repo.ts index ebba0a4..1b0b424 100644 --- a/src/lib/stores/repo.ts +++ b/src/lib/stores/repo.ts @@ -106,10 +106,6 @@ const ensureRepoReadme = async (clone: string[], a: string): Promise => { ] for (let i = 0; i < readme_urls.length; i++) { try { - // temporarily disable using proxy - if (!readme_urls[i].includes('raw.githubusercontent.com')) { - continue - } const res = await fetch( readme_urls[i] // readme_urls[i].includes('raw.githubusercontent.com')