From 0383299bb7696d4026f2bd9212c44af15afe3e9d Mon Sep 17 00:00:00 2001
From: Elliu <elliu@hashi.re>
Date: Wed, 19 Feb 2025 16:49:56 +0100
Subject: [PATCH] REPO: update route to download files from repo

---
 lektor_repo/src/routes.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lektor_repo/src/routes.rs b/lektor_repo/src/routes.rs
index 1413d636..646ed804 100644
--- a/lektor_repo/src/routes.rs
+++ b/lektor_repo/src/routes.rs
@@ -23,7 +23,7 @@ pub(crate) mod v2 {
 
     pub(crate) fn get_kara_file(base: impl AsRef<str>, id: u64) -> String {
         let base = base.as_ref().trim_matches(TRIM_BASE_URL);
-        format!("{base}/get/kara/{id}")
+        format!("{base}/file/kara/{id}")
     }
 
     pub(crate) fn get_dbinfos(base: impl AsRef<str>) -> String {
-- 
GitLab