mirror of
https://github.com/redlib-org/redlib.git
synced 2025-05-15 06:22:50 +00:00
Proxy Thumbnails
This commit is contained in:
parent
759c9fc66b
commit
f33af75267
5 changed files with 22 additions and 20 deletions
|
@ -17,8 +17,6 @@ async fn handler(web::Path(url): web::Path<String>) -> Result<HttpResponse> {
|
|||
Err(_e) => return Ok(HttpResponse::Ok().body("")),
|
||||
};
|
||||
|
||||
dbg!(&media);
|
||||
|
||||
let client = Client::default();
|
||||
client
|
||||
.get(media.replace("&", "&"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue