Fix Proxy Log

This commit is contained in:
spikecodes 2020-11-23 09:11:24 -08:00
parent a1e57d874f
commit a8f7fa6941

View file

@ -2,7 +2,7 @@ use actix_web::{get, web, HttpResponse, Result, client::Client, Error};
#[get("/imageproxy/{url:.*}")] #[get("/imageproxy/{url:.*}")]
async fn handler(web::Path(url): web::Path<String>) -> Result<HttpResponse> { async fn handler(web::Path(url): web::Path<String>) -> Result<HttpResponse> {
dbg!("Proxy: ", &url); dbg!(&url);
let client = Client::default(); let client = Client::default();
client.get(url) client.get(url)
.send() .send()