mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix localhost links handler
This commit is contained in:
parent
0a1cba0aca
commit
d77497b79f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue