You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-08-07 17:03:01 +03:00
Flatten the http config
Also properly remove the `spa` resource
This commit is contained in:
@@ -48,7 +48,7 @@ use rustls::ServerConfig;
|
||||
use sentry_tower::{NewSentryLayer, SentryHttpLayer};
|
||||
use tower::Layer;
|
||||
use tower_http::{services::ServeDir, set_header::SetResponseHeaderLayer};
|
||||
use tracing::{warn, Span};
|
||||
use tracing::Span;
|
||||
use tracing_opentelemetry::OpenTelemetrySpanExt;
|
||||
|
||||
use crate::app_state::AppState;
|
||||
@@ -243,12 +243,6 @@ where
|
||||
format!("{connection:?}")
|
||||
}),
|
||||
),
|
||||
|
||||
#[allow(deprecated)]
|
||||
mas_config::HttpResource::Spa { .. } => {
|
||||
warn!("The SPA HTTP resource is deprecated");
|
||||
router
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user