feat: Prefill server name in federation test

This commit is contained in:
Jade Ellis 2025-05-01 18:46:30 +01:00
parent cbcf4300df
commit fb9d4c30f4
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
9 changed files with 24 additions and 12 deletions

View file

@ -3,7 +3,6 @@ mod auth;
mod handler;
mod request;
mod response;
pub mod state;
use std::str::FromStr;
@ -13,10 +12,11 @@ use axum::{
routing::{any, get, post},
};
use conduwuit::{Server, err};
pub(super) use conduwuit_service::state::State;
use http::{Uri, uri};
use self::handler::RouterExt;
pub(super) use self::{args::Args as Ruma, response::RumaResponse, state::State};
pub(super) use self::{args::Args as Ruma, response::RumaResponse};
use crate::{client, server};
pub fn build(router: Router<State>, server: &Server) -> Router<State> {