diff options
Diffstat (limited to 'src/api/routes/mod.rs')
| -rw-r--r-- | src/api/routes/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/api/routes/mod.rs b/src/api/routes/mod.rs new file mode 100644 index 0000000..231236c --- /dev/null +++ b/src/api/routes/mod.rs @@ -0,0 +1,7 @@ +// Copyleft (ɔ) 2021-2021 The Whirlsplash Collective +// SPDX-License-Identifier: GPL-3.0-only + +pub mod stats; + +#[get("/")] +pub fn index() -> &'static str { "Whirlsplash" } |