Fix Proxied Icons
This commit is contained in:
parent
d97fb49fde
commit
67090e9b08
1 changed files with 5 additions and 0 deletions
|
@ -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",
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue