You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-29 22:01:14 +03:00
Make the ServerLayer work properly with axum
This commit is contained in:
@ -25,6 +25,7 @@ use hyper::Server;
|
||||
use mas_axum_utils::UrlBuilder;
|
||||
use mas_config::RootConfig;
|
||||
use mas_email::{MailTransport, Mailer};
|
||||
use mas_http::ServerLayer;
|
||||
use mas_storage::MIGRATOR;
|
||||
use mas_tasks::TaskQueue;
|
||||
use mas_templates::Templates;
|
||||
@ -215,7 +216,8 @@ impl Options {
|
||||
&encrypter,
|
||||
&mailer,
|
||||
&url_builder,
|
||||
);
|
||||
)
|
||||
.layer(ServerLayer::default());
|
||||
|
||||
info!("Listening on http://{}", listener.local_addr().unwrap());
|
||||
|
||||
|
Reference in New Issue
Block a user