mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-09-08 04:41:48 +00:00
fix localhost links handler
This commit is contained in:
parent
0a1cba0aca
commit
d77497b79f
@ -315,7 +315,7 @@ impl Gemini {
|
|||||||
if let Some(uri) = links.get(&tag) {
|
if let Some(uri) = links.get(&tag) {
|
||||||
// Select link handler by scheme
|
// Select link handler by scheme
|
||||||
return match uri.scheme().as_str() {
|
return match uri.scheme().as_str() {
|
||||||
"gemini" | "titan" => {
|
"gemini" | "titan" | "file" => {
|
||||||
item_action.load.activate(Some(&uri.to_str()), true, false)
|
item_action.load.activate(Some(&uri.to_str()), true, false)
|
||||||
}
|
}
|
||||||
// Scheme not supported, delegate
|
// Scheme not supported, delegate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user