Skip to content
Clone
ec0bdb8
11 lines 306 B Rust
use export::http::Router;
use crate::bootstrap::Deps;
pub fn router(deps: &Deps) -> Router<()> {
chat::routes::router(deps.chat.clone()).with_state(deps.chat.clone())
}
pub fn internal(deps: &Deps) -> Router<()> {
chat::routes::internal_router(deps.chat.clone()).with_state(deps.chat.clone())
}