Show external page links again

This commit is contained in:
spikecodes 2021-12-27 18:00:19 -08:00
parent 45b875b85d
commit b3d4f6f91c
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
3 changed files with 3 additions and 3 deletions

View file

@ -596,7 +596,7 @@ pub fn format_url(url: &str) -> String {
"external-preview.redd.it" => capture(r"https://external\-preview\.redd\.it/(.*)", "/preview/external-pre/", 1),
"styles.redditmedia.com" => capture(r"https://styles\.redditmedia\.com/(.*)", "/style/", 1),
"www.redditstatic.com" => capture(r"https://www\.redditstatic\.com/(.*)", "/static/", 1),
_ => String::new(),
_ => url.to_string(),
}
})
}