Fix Proxy Log
This commit is contained in:
parent
a1e57d874f
commit
a8f7fa6941
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue