Skip to main content

cors

Function cors 

Source
pub async fn cors(req: Request, next: Next) -> Response
Expand description

Browser clients (Element, Cinny) call from another origin: answer preflights and allow it.