From 67090e9b083e8f76cc74a3228edc2374d5d8d8e4 Mon Sep 17 00:00:00 2001 From: spikecodes <19519553+spikecodes@users.noreply.github.com> Date: Sun, 3 Jan 2021 10:22:41 -0800 Subject: [PATCH] Fix Proxied Icons --- src/proxy.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/proxy.rs b/src/proxy.rs index a1429b7..187532a 100644 --- a/src/proxy.rs +++ b/src/proxy.rs @@ -5,10 +5,15 @@ use base64::decode; pub async fn handler(web::Path(b64): web::Path) -> Result { let domains = vec![ + // THUMBNAILS "a.thumbs.redditmedia.com", "b.thumbs.redditmedia.com", + // ICONS + "styles.redditmedia.com", + // PREVIEWS "preview.redd.it", "external-preview.redd.it", + // MEDIA "i.redd.it", "v.redd.it", ];