15 lines
352 B
Rust
15 lines
352 B
Rust
mod auth;
|
|
|
|
use axum::{routing::get, Router};
|
|
|
|
use super::AppState;
|
|
|
|
pub fn build() -> Router<AppState> {
|
|
let auth = auth::build();
|
|
Router::new()
|
|
.route("/health", get(health_check))
|
|
.nest("/auth", auth)
|
|
}
|
|
|
|
// just always returns a 200 OK for now, the server has no state, if it's up, it's working
|
|
pub async fn health_check() {}
|