aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/routes/api')
-rw-r--r--server/src/routes/api/error.rs5
-rw-r--r--server/src/routes/api/mod.rs5
2 files changed, 10 insertions, 0 deletions
diff --git a/server/src/routes/api/error.rs b/server/src/routes/api/error.rs
index c4ca989..a1d0588 100644
--- a/server/src/routes/api/error.rs
+++ b/server/src/routes/api/error.rs
@@ -1,3 +1,8 @@
+/*
+ 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) 2023 metamuffin <metamuffin.org>
+*/
// TODO: Slightâ„¢ code duplication with `ui/error.rs`
use crate::routes::ui::error::MyError;
diff --git a/server/src/routes/api/mod.rs b/server/src/routes/api/mod.rs
index 06c38cf..8f7190e 100644
--- a/server/src/routes/api/mod.rs
+++ b/server/src/routes/api/mod.rs
@@ -1,3 +1,8 @@
+/*
+ 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) 2023 metamuffin <metamuffin.org>
+*/
pub mod error;
use std::path::PathBuf;