mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
use gemini scheme as titan home feature
This commit is contained in:
parent
0f1c23ce1a
commit
a2bd719a2d
1 changed files with 5 additions and 1 deletions
|
|
@ -124,7 +124,11 @@ impl Request {
|
||||||
self.uri().map(|uri| {
|
self.uri().map(|uri| {
|
||||||
Uri::build(
|
Uri::build(
|
||||||
UriFlags::NONE,
|
UriFlags::NONE,
|
||||||
&uri.scheme(),
|
&if uri.scheme() == "titan" {
|
||||||
|
GString::from("gemini")
|
||||||
|
} else {
|
||||||
|
uri.scheme()
|
||||||
|
},
|
||||||
uri.userinfo().as_deref(),
|
uri.userinfo().as_deref(),
|
||||||
uri.host().as_deref(),
|
uri.host().as_deref(),
|
||||||
uri.port(),
|
uri.port(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue