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