diff options
| author | metamuffin <metamuffin@disroot.org> | 2026-03-02 15:53:12 +0100 |
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2026-03-02 15:53:12 +0100 |
| commit | 516f87ac2c7dcd48d457912ebec1d5b5e6bf7e3a (patch) | |
| tree | 09535e2562c26a24acd43387fc2888e97c0d9694 /server/src/routes/stats.rs | |
| parent | f9d5bfc7ba1f9dba714e71c39c63a5f4622ebd85 (diff) | |
| download | jellything-516f87ac2c7dcd48d457912ebec1d5b5e6bf7e3a.tar jellything-516f87ac2c7dcd48d457912ebec1d5b5e6bf7e3a.tar.bz2 jellything-516f87ac2c7dcd48d457912ebec1d5b5e6bf7e3a.tar.zst | |
move files around
Diffstat (limited to 'server/src/routes/stats.rs')
| -rw-r--r-- | server/src/routes/stats.rs | 12 |
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!() +} |