aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/stats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/routes/stats.rs')
-rw-r--r--server/src/routes/stats.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/src/routes/stats.rs b/server/src/routes/stats.rs
new file mode 100644
index 0000000..387ca63
--- /dev/null
+++ b/server/src/routes/stats.rs
@@ -0,0 +1,12 @@
+/*
+ This file is part of jellything (https://codeberg.org/metamuffin/jellything)
+ which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
+ Copyright (C) 2026 metamuffin <metamuffin.org>
+*/
+use crate::{request_info::RequestInfo, ui::error::MyResult};
+use rocket::{get, response::content::RawHtml};
+
+#[get("/stats")]
+pub fn r_stats(ri: RequestInfo) -> MyResult<RawHtml<String>> {
+ todo!()
+}