From 06284d28271ec4c188ac046c0795d456d424a60e Mon Sep 17 00:00:00 2001
From: Hasan Sino <4024450+hasansino@users.noreply.github.com>
Date: Fri, 18 Apr 2025 20:59:59 +0300
Subject: fix: FIxed sidebar link to github for nightly builds (#1274)

* sidebar link to gh repo

* user repo root url for nightly build in sidebar
---
 apps/web/components/shared/sidebar/Sidebar.tsx | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

(limited to 'apps/web/components/shared/sidebar/Sidebar.tsx')

diff --git a/apps/web/components/shared/sidebar/Sidebar.tsx b/apps/web/components/shared/sidebar/Sidebar.tsx
index 8bd52e1f..2bdf365a 100644
--- a/apps/web/components/shared/sidebar/Sidebar.tsx
+++ b/apps/web/components/shared/sidebar/Sidebar.tsx
@@ -32,7 +32,11 @@ export default async function Sidebar({
       </div>
       {extraSections}
       <Link
-        href={`https://github.com/hoarder-app/hoarder/releases/tag/v${serverConfig.serverVersion}`}
+        href={
+          serverConfig.serverVersion === "nightly"
+            ? `https://github.com/karakeep-app/karakeep`
+            : `https://github.com/hoarder-app/hoarder/releases/tag/v${serverConfig.serverVersion}`
+        }
         target="_blank"
         rel="noopener noreferrer"
         className="mt-auto flex items-center border-t pt-2 text-sm text-gray-400 hover:underline"
-- 
cgit v1.2.3-70-g09d2

