mirror of
https://github.com/JonasunderscoreJones/jonas_jones-api.git
synced 2025-10-23 09:09:18 +02:00
Added basic frame for mod update tracker
This commit is contained in:
parent
32b0c87c00
commit
6a53f1a9cb
6 changed files with 37 additions and 1 deletions
|
@ -1,12 +1,15 @@
|
|||
mod builtin;
|
||||
mod kcomebacks;
|
||||
mod updates;
|
||||
|
||||
pub use builtin::get_builtin_routes as get_v1_builtin_routes;
|
||||
pub use kcomebacks::get_kcomebacks_routes as get_v1_kcomebacks_routes;
|
||||
pub use updates::get_updates_routes as get_v1_updates_routes;
|
||||
|
||||
use warp::Filter;
|
||||
|
||||
pub fn get_v1_routes() -> impl warp::Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
|
||||
return get_v1_builtin_routes()
|
||||
.or(get_v1_kcomebacks_routes());
|
||||
.or(get_v1_kcomebacks_routes())
|
||||
.or(get_v1_updates_routes());
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue