1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

Add CORS headers to API-like routes

This commit is contained in:
Quentin Gliech
2022-04-07 16:25:42 +02:00
parent b43817e66c
commit bc24e30867
8 changed files with 86 additions and 21 deletions

View File

@@ -47,7 +47,7 @@ mod future_service;
mod layers;
pub use self::{
ext::ServiceExt as HttpServiceExt,
ext::{set_propagator, CorsLayerExt, ServiceExt as HttpServiceExt},
future_service::FutureService,
layers::{client::ClientLayer, json::JsonResponseLayer, otel, server::ServerLayer},
};