chore: initial commit for asepharyana-hub-scraper

This commit is contained in:
asepharyana
2026-07-09 22:07:03 +07:00
commit 80c96eaa42
190 changed files with 28465 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
use crate::modules::proxy::controller;
use crate::shared::state::AppState;
use axum::Router;
use std::sync::Arc;
pub fn routes(router: Router<Arc<AppState>>) -> Router<Arc<AppState>> {
router
.route(
"/api/proxy/croxy",
axum::routing::get(controller::fetch_with_proxy_only),
)
.route(
"/api/proxy/image-cache",
axum::routing::post(controller::image_cache),
)
}