pub fn catch_all_options_routes() -> Vec<Route>
Expand description

Returns “catch all” OPTIONS routes that you can mount to catch all OPTIONS request. Only works if you have put a Cors struct into Rocket’s managed state.

This route has very high rank (and therefore low priority) of max value so you can define your own to override this route’s behaviour.

See the documentation at the crate root for usage information.