From 16b27decaf977c4f9a3d9a3573ba920c7c47bcff Mon Sep 17 00:00:00 2001 From: yggverse Date: Fri, 27 Sep 2024 15:42:25 +0300 Subject: [PATCH] remove demo address replacement --- src/browser/main/tab/page/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/browser/main/tab/page/mod.rs b/src/browser/main/tab/page/mod.rs index ee9042c1..47ee42d6 100644 --- a/src/browser/main/tab/page/mod.rs +++ b/src/browser/main/tab/page/mod.rs @@ -129,7 +129,7 @@ impl Page { client.set_protocol(SocketProtocol::Tcp); client.connect_to_uri_async( - "gemini://geminiprotocol.net:1965/", // @TODO &uri.to_str(), + &uri.to_str(), 1965, Some(&cancellable.clone()), move |result| match result { @@ -142,7 +142,7 @@ impl Page { // Send request connection.output_stream().write_all_async( - "gemini://geminiprotocol.net:1965/\r\n", // @TODO + gformat!("{}\r\n", &uri.to_str()), Priority::DEFAULT, Some(&cancellable.clone()), move |result| match result {