From 7199431dd1a6143766a452041bcee720c8880ac1 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 4 Apr 2025 23:56:32 +0000 Subject: fix: Update outdated home page URLs --- README.md | 3 ++- src/app.rs | 2 +- src/input.rs | 2 +- src/main.rs | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c4fff88..3bf7173 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,8 @@ Options: --help, -h show help text Sample invocations: - syndey gemini://gem.rest/ + syndey gemini://fuwn.me/ + syndey fuwn.me syndey --help Report bugs to https://github.com/gemrest/sydney/issues diff --git a/src/app.rs b/src/app.rs index 82df7e3..13ece55 100644 --- a/src/app.rs +++ b/src/app.rs @@ -41,7 +41,7 @@ pub struct App { } impl App { pub fn new() -> Self { - let url = Url::parse("gemini://gem.rest/projects/sydney.gmi").unwrap(); + let url = Url::parse("gemini://fuwn.me/blog/technology/gemini?referrer=sydney").unwrap(); let mut app = Self { response_input: String::new(), diff --git a/src/input.rs b/src/input.rs index 53f4000..db69fce 100644 --- a/src/input.rs +++ b/src/input.rs @@ -203,7 +203,7 @@ fn handle_editing_input( } Command::Help => { app.set_url( - Url::parse("gemini://gem.rest/projects/sydney.gmi").unwrap(), + Url::parse("gemini://fuwn.me/blog/technology/gemini?referrer=sydney").unwrap(), ); app.make_request(); } diff --git a/src/main.rs b/src/main.rs index 64eb7e4..f31ca72 100644 --- a/src/main.rs +++ b/src/main.rs @@ -58,7 +58,8 @@ Options: --help, -h show help text Sample invocations: - {0} gemini://gem.rest/ + {0} gemini://fuwn.me/ + {0} fuwn.me {0} --help Report bugs to https://github.com/gemrest/sydney/issues"#, -- cgit v1.2.3