fix path value

This commit is contained in:
yggverse 2025-01-18 08:47:33 +02:00
parent f8d35e3252
commit e5a8e7dd12

View File

@ -43,11 +43,11 @@ impl Protocol {
Err(_) => Self::Gemini { Err(_) => Self::Gemini {
uri: Uri::build( uri: Uri::build(
UriFlags::NONE, UriFlags::NONE,
"/gemini", // beginning slash required to prevent assertion panic on construct "gemini",
None, None,
Some("tlgs.one"), Some("tlgs.one"),
-1, -1,
"search", "/search", // beginning slash required to prevent assertion panic on construct
Some(&Uri::escape_string(query, None, false)), // @TODO is `escape_string` really wanted in `build` context? Some(&Uri::escape_string(query, None, false)), // @TODO is `escape_string` really wanted in `build` context?
None, None,
), ),