Fix Proxied Icons

This commit is contained in:
spikecodes 2021-01-03 10:22:41 -08:00
parent d97fb49fde
commit 67090e9b08

View file

@ -5,10 +5,15 @@ use base64::decode;
pub async fn handler(web::Path(b64): web::Path<String>) -> Result<HttpResponse> {
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",
];