Fix accept header so we also get github svgs

pull/792/head
Tom Parker-Shemilt 5 years ago
parent a6b79d73ec
commit ff703bac03

@ -72,7 +72,7 @@ async fn get_url(url: String) -> (String, Result<String>) {
debug!("Running {}", url);
let resp = CLIENT
.get(&url)
.header(header::ACCEPT, "text/html")
.header(header::ACCEPT, "text/html, */*;q=0.8")
.send()
.await;
match resp {

Loading…
Cancel
Save