hanime changes

This commit is contained in:
Simon
2026-05-22 09:07:18 +00:00
committed by ForgeCode
parent 7149847a2a
commit a5c6290596
4 changed files with 221 additions and 135 deletions

View File

@@ -112,6 +112,11 @@ pub fn config(cfg: &mut web::ServiceConfig) {
.route(web::post().to(crate::proxies::hanimecdn::get_image))
.route(web::get().to(crate::proxies::hanimecdn::get_image)),
)
.service(
web::resource("/hanime-thumb/{endpoint}*")
.route(web::post().to(crate::proxies::hanimethumb::get_image))
.route(web::get().to(crate::proxies::hanimethumb::get_image)),
)
.service(
web::resource("/hqporner-thumb/{endpoint}*")
.route(web::post().to(crate::proxies::hqpornerthumb::get_image))