aboutsummaryrefslogtreecommitdiff
path: root/src/modules/web.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-24 21:38:39 -0700
committerFuwn <[email protected]>2024-06-24 21:38:39 -0700
commitd0d03cb07101291b4a49c322318b97c1c10521f5 (patch)
treeca624f965fd066295110bd61b1df037f188e6e21 /src/modules/web.rs
parentchore(modules): add back removed comments (diff)
downloadlocus-d0d03cb07101291b4a49c322318b97c1c10521f5.tar.xz
locus-d0d03cb07101291b4a49c322318b97c1c10521f5.zip
feat(modules): finger gateway
Diffstat (limited to 'src/modules/web.rs')
-rw-r--r--src/modules/web.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/web.rs b/src/modules/web.rs
index 1be6f48..31b0eec 100644
--- a/src/modules/web.rs
+++ b/src/modules/web.rs
@@ -10,14 +10,14 @@ use {
fn error(message: &str, context: &windmark::context::RouteContext) -> Response {
success(
&format!(
- "# World Wide Web to Gemini Gateway\n\n{message}\n\n=> /web Go back"
+ "# World Wide Web-to-Gemini Gateway\n\n{message}\n\n=> /web Go back"
),
context,
)
}
pub fn module(router: &mut windmark::router::Router) {
- track_mount(router, "/web", "World Wide Web to Gemini Gateway", |context| {
+ track_mount(router, "/web", "-World-Wide-Web to Gemini Gateway", |context| {
success(
&format!(
r"# World Wide Web to Gemini Gateway
@@ -34,7 +34,7 @@ To visit the web version of this exact page, <{ROOT_HTTPS_URL}/web>, you would v
track_mount(
router,
"/web/*url",
- "World Wide Web to Gemini Gateway Visitor",
+ "-World-Wide-Web to Gemini Gateway Router",
async move |context: RouteContext| {
let queries = windmark::utilities::queries_from_url(&context.url);