mirror of
https://github.com/CloudNebulaProject/webfingerd.git
synced 2026-04-10 21:20:41 +00:00
13 lines
234 B
Rust
13 lines
234 B
Rust
|
|
mod health;
|
||
|
|
mod webfinger;
|
||
|
|
|
||
|
|
use axum::Router;
|
||
|
|
use crate::state::AppState;
|
||
|
|
|
||
|
|
pub fn router(state: AppState) -> Router {
|
||
|
|
Router::new()
|
||
|
|
.merge(webfinger::router())
|
||
|
|
.merge(health::router())
|
||
|
|
.with_state(state)
|
||
|
|
}
|