aboutsummaryrefslogtreecommitdiff
path: root/server/src/routes.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-05-13 12:50:04 +0200
committermetamuffin <metamuffin@disroot.org>2025-05-13 12:50:04 +0200
commit55434f87ff252c784e5e00b4775b9555da31ebb0 (patch)
treefa3b9d95f96584216eb68143edb1cd4d024f0839 /server/src/routes.rs
parent2a41d6b0c7c1327856b9cde247621822fe61355f (diff)
downloadjellything-55434f87ff252c784e5e00b4775b9555da31ebb0.tar
jellything-55434f87ff252c784e5e00b4775b9555da31ebb0.tar.bz2
jellything-55434f87ff252c784e5e00b4775b9555da31ebb0.tar.zst
translation endpoint
Diffstat (limited to 'server/src/routes.rs')
-rw-r--r--server/src/routes.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/server/src/routes.rs b/server/src/routes.rs
index cc68067..8692685 100644
--- a/server/src/routes.rs
+++ b/server/src/routes.rs
@@ -30,8 +30,8 @@ use crate::ui::{
use crate::CONF;
use crate::{
api::{
- r_api_account_login, r_api_asset_token_raw, r_api_nodes_modified_since, r_api_root,
- r_api_version,
+ r_api_account_login, r_api_asset_token_raw, r_api_root, r_nodes_modified_since,
+ r_translations, r_version,
},
compat::{
jellyfin::{
@@ -164,9 +164,10 @@ pub fn build_rocket(database: Database) -> Rocket<Build> {
// API
r_api_account_login,
r_api_asset_token_raw,
- r_api_nodes_modified_since,
+ r_nodes_modified_since,
r_api_root,
- r_api_version,
+ r_version,
+ r_translations,
// Compat
r_jellyfin_artists,
r_jellyfin_branding_configuration,