mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-04 23:44:13 +00:00
update ggemini
api
This commit is contained in:
parent
dd171dabe9
commit
6a8f7548c8
@ -84,7 +84,7 @@ fn handle(
|
||||
move |result| match result {
|
||||
Ok(text) => callback(Response::TextGemini {
|
||||
base: request.as_uri().clone(),
|
||||
source: text.data,
|
||||
source: text.as_gstring(),
|
||||
is_source_request: matches!(request.feature(), Feature::Source), // @TODO return `Feature`?
|
||||
}),
|
||||
Err(e) => callback(Response::Failure(Failure::Mime {
|
||||
|
Loading…
x
Reference in New Issue
Block a user