diff options
Diffstat (limited to 'src/url.rs')
| -rw-r--r-- | src/url.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ // Copyright (C) 2022-2023 Fuwn <[email protected]> // SPDX-License-Identifier: GPL-3.0-only -use gmi::url::Url; +use url::Url; pub fn make( path: &str, @@ -23,7 +23,7 @@ pub fn make( is_proxy: &mut bool, is_raw: &mut bool, is_nocss: &mut bool, -) -> Result<Url, gmi::url::UrlParseError> { +) -> Result<Url, url::ParseError> { Ok( match Url::try_from(&*if path.starts_with("/proxy") { *is_proxy = true; |