From a2148d42274538c8df26d524cad84bb2ae7fe0b9 Mon Sep 17 00:00:00 2001 From: G2-Games Date: Mon, 28 Oct 2024 02:57:33 -0500 Subject: [PATCH] Minor tweaks to the API docs --- src/pages.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages.rs b/src/pages.rs index fed5fc1..f193db1 100644 --- a/src/pages.rs +++ b/src/pages.rs @@ -85,7 +85,7 @@ pub fn api_info(settings: &State) -> Markup { hr; h2 { code {"/f/"} } - pre { r#"GET mmid=MMID -> Redirect"# } + pre { r#"GET mmid=MMID -> Redirect or File"# } p { "By default issues a redirect to the full URL for a file. This behavior can be modified by appending " code{"?noredir"} " to @@ -100,7 +100,7 @@ pub fn api_info(settings: &State) -> Markup { hr; h2 { code {"/f//"} } - pre { r#"GET mmid=MMID -> Redirect"# } + pre { r#"GET mmid=MMID filename=String -> File"# } p { "Returns the contents of the file corresponding to the requested MMID, but with the corresponding filename so as