fix localhost links handler

This commit is contained in:
yggverse 2025-03-28 02:46:07 +02:00
parent 0a1cba0aca
commit d77497b79f

View File

@ -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