Fix Proxied Icons
This commit is contained in:
parent
d97fb49fde
commit
67090e9b08
@ -5,10 +5,15 @@ use base64::decode;
|
|||||||
|
|
||||||
pub async fn handler(web::Path(b64): web::Path<String>) -> Result<HttpResponse> {
|
pub async fn handler(web::Path(b64): web::Path<String>) -> Result<HttpResponse> {
|
||||||
let domains = vec![
|
let domains = vec![
|
||||||
|
// THUMBNAILS
|
||||||
"a.thumbs.redditmedia.com",
|
"a.thumbs.redditmedia.com",
|
||||||
"b.thumbs.redditmedia.com",
|
"b.thumbs.redditmedia.com",
|
||||||
|
// ICONS
|
||||||
|
"styles.redditmedia.com",
|
||||||
|
// PREVIEWS
|
||||||
"preview.redd.it",
|
"preview.redd.it",
|
||||||
"external-preview.redd.it",
|
"external-preview.redd.it",
|
||||||
|
// MEDIA
|
||||||
"i.redd.it",
|
"i.redd.it",
|
||||||
"v.redd.it",
|
"v.redd.it",
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user