Skip to content

Commit

Permalink
Update proxy.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lostb1t authored Aug 12, 2023
1 parent 9aa7a4f commit 0e85492
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ where
}
}

pub fn default_url_rest_getter(req: &Request, _depot: &Depot) -> String {
req.uri().path_and_query().unwrap().to_string()
pub fn default_url_rest_getter(req: &Request, _depot: &Depot) -> Option<String> {
Some(req.uri().path_and_query().unwrap().to_string())
}

0 comments on commit 0e85492

Please sign in to comment.