Function jormungandr::rest::setup_cors
source · async fn setup_cors<App>(
app: App,
config: Config,
shutdown_signal: impl Future<Output = ()> + Send + 'static
)where
App: Filter<Error = Rejection> + Clone + Send + Sync + 'static,
App::Extract: Reply,