pub fn routes(
    settings: Settings,
) -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
    let settings = Arc::new(settings);

    oauth_callback(settings.clone()).or(proxy_request(settings))
}
// All the http routes of the application.
// As of now there is only the oauth callback (for login), any other request
// will be forwarded to the backend.
All the http routes of the application.
As of now there is only the oauth callback (for login), any other request
will be forwarded to the backend.
All the http routes of the application . As of now there is only the oauth callback ( for login ) any other request will be forwarded to the backend .
pub fn routes(
    settings: Settings,
) -> impl Filter<Extract = impl warp::Reply, Error = warp::Rejection> + Clone {
    let settings = Arc::new(settings);
    oauth_callback(settings.clone()).or(proxy_request(settings))
}
pub fn routes ( settings : Settings , ) -> impl Filter < Extract = impl warp :: Reply , Error = warp :: Rejection > + Clone { let settings = Arc :: new ( settings ) ; oauth_callback ( settings . clone ( ) ) . or ( proxy_request ( settings ) ) }
All the http routes of the application.
All the http routes of the application .
settings
Settings
settings
Settings