aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/finger.rs6
-rw-r--r--src/modules/index.rs2
-rw-r--r--src/modules/web.rs2
-rw-r--r--src/url.rs4
4 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/finger.rs b/src/modules/finger.rs
index 4e41d16..fdcc0b4 100644
--- a/src/modules/finger.rs
+++ b/src/modules/finger.rs
@@ -11,9 +11,9 @@ pub fn module(router: &mut windmark::router::Router) {
To use this gateway, simply append the address of your target resource to the end of the current route, minus the protocol. Routed paths are supported!
-To visit my personal Finger server, <finger://fuwn.me>, you would visit <gemini://fuwn.me/finger/fuwn.me>.
+To visit my personal Finger server, <finger://fuwn.net>, you would visit <gemini://fuwn.net/finger/fuwn.net>.
-=> /finger/fuwn.me Try it!".to_string(),
+=> /finger/fuwn.net Try it!".to_string(),
&context,
)
});
@@ -63,7 +63,7 @@ To visit my personal Finger server, <finger://fuwn.me>, you would visit <gemini:
#[allow(unsafe_code)]
response.push_str(&unsafe {
let content = std::str::from_utf8_unchecked(&buffer[..bytes_read])
- .replace("finger://", "gemini://fuwn.me/finger/");
+ .replace("finger://", "gemini://fuwn.net/finger/");
// let mut lines = content.lines().peekable();
// let mut result = String::new();
diff --git a/src/modules/index.rs b/src/modules/index.rs
index 363a14f..2d4d6c0 100644
--- a/src/modules/index.rs
+++ b/src/modules/index.rs
@@ -8,7 +8,7 @@ pub fn module(router: &mut windmark::router::Router) {
move |context| {
crate::response::success(
&format!(
- r"# Fuwn[.me]
+ r"# Fuwn[.net]
I enjoy writing for archaic systems in dated languages and with artificially imposed constraints, all while aiming for peak performance and minimal design.
diff --git a/src/modules/web.rs b/src/modules/web.rs
index 76e09ff..4843322 100644
--- a/src/modules/web.rs
+++ b/src/modules/web.rs
@@ -24,7 +24,7 @@ pub fn module(router: &mut windmark::router::Router) {
To use this gateway, simply append the address of your target resource to the end of the current route, minus the protocol.
-To visit the web version of this exact page, <{ROOT_HTTPS_URL}/web>, you would visit <{ROOT_GEMINI_URL}/web/fuwn.me/web>.
+To visit the web version of this exact page, <{ROOT_HTTPS_URL}/web>, you would visit <{ROOT_GEMINI_URL}/web/fuwn.net/web>.
=> /web/example.com Try it!"
),
diff --git a/src/url.rs b/src/url.rs
index f818063..92a0871 100644
--- a/src/url.rs
+++ b/src/url.rs
@@ -1,2 +1,2 @@
-pub const ROOT_GEMINI_URL: &str = "gemini://fuwn.me";
-pub const ROOT_HTTPS_URL: &str = "https://fuwn.me";
+pub const ROOT_GEMINI_URL: &str = "gemini://fuwn.net";
+pub const ROOT_HTTPS_URL: &str = "https://fuwn.net";