From 942c67c3d24126b785fcb41ab2d408c8e232fdaf Mon Sep 17 00:00:00 2001 From: Niklas Mohrin Date: Sat, 24 Jan 2026 00:00:20 +0100 Subject: [PATCH] Update `ARCHIVE_URL` When this code was written, the client specification instructed clients that they MUST download pages from the tldr.sh domain. However, this domain was deprecated and shut down in December 2025. --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5e6e739..127a39e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -64,7 +64,7 @@ const APP_INFO: AppInfo = AppInfo { name: NAME, author: NAME, }; -const ARCHIVE_URL: &str = "https://tldr.sh/assets/tldr.zip"; +const ARCHIVE_URL: &str = "https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip"; /// The cache should be updated if it was explicitly requested, /// or if an automatic update is due and allowed.