-- Leo's gemini proxy

-- Connecting to typed-hole.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

commit 0c6e9abfb400ad89ffcd17b741377419d2d0d848

Author: Julien Blanchard <julien@sideburns.eu>

Date: Sat Oct 5 18:45:51 2019 +0200


Move bookmarks to a proper location


diff --git a/src/bookmarks.rs b/src/bookmarks.rs

index ef422a9..fec15bf 100644

--- a/src/bookmarks.rs

+++ b/src/bookmarks.rs

@@ -25,8 +25,8 @@ pub fn content() -> Vec<Url> {

}


fn bookmarks_file() -> File {

- let mut bookmarks = dirs::home_dir().unwrap();

- bookmarks.push(".asuka_bookmarks");

+ let mut bookmarks = dirs::data_local_dir().unwrap();

+ bookmarks.push("asuka_bookmarks");

let file_path = bookmarks.into_os_string();


OpenOptions::new()



---

Served by Pollux Gemini Server.

-- Response ended

-- Page fetched on Sun May 19 10:18:38 2024