mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
fix localhost links handler
This commit is contained in:
parent
d77497b79f
commit
042eab7051
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,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" => {
|
||||||
// Open new page in browser
|
// Open new page in browser
|
||||||
window_action.append.activate_stateful_once(
|
window_action.append.activate_stateful_once(
|
||||||
Position::After,
|
Position::After,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue