Url: fixes depreciation warning

pull/107/head
Tpt 4 years ago
parent 1852f34c25
commit 7b98d58b10
  1. 2
      server/src/main.rs

@ -349,7 +349,7 @@ fn base_url(request: &Request) -> Result<String> {
}
url.set_query(None);
url.set_fragment(None);
Ok(url.into_string())
Ok(url.into())
}
fn resolve_with_base(request: &Request, url: &str) -> Result<NamedNode> {

Loading…
Cancel
Save