mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-22 16:59:17 +02:00
refactoring
This commit is contained in:
parent
83ba68a8b7
commit
b675ed4094
2 changed files with 1 additions and 3 deletions
|
@ -1,5 +1,3 @@
|
|||
use warp::Filter;
|
||||
|
||||
mod mods;
|
||||
|
||||
use mods::get_mods_paths;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use warp::{Filter, filters::addr::remote};
|
||||
use warp::Filter;
|
||||
|
||||
pub fn get_mods_paths() -> impl warp::Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
|
||||
// any path that starts with /v1/updates/minecraft/mods/{modname}/{loadername}/{version} calls handle_path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue