pimpbunny thumb

This commit is contained in:
Simon
2026-03-17 09:17:28 +00:00
parent 3a2e77436e
commit 7680a93fab
5 changed files with 329 additions and 308 deletions

View File

@@ -48,6 +48,11 @@ pub fn config(cfg: &mut web::ServiceConfig) {
.route(web::post().to(crate::proxies::porndishthumb::get_image))
.route(web::get().to(crate::proxies::porndishthumb::get_image)),
);
cfg.service(
web::resource("/pimpbunny-thumb/{endpoint}*")
.route(web::post().to(crate::proxies::pimpbunnythumb::get_image))
.route(web::get().to(crate::proxies::pimpbunnythumb::get_image)),
);
}
async fn proxy2redirect(