refactor: Update download.tsx to fix download link URL

This commit is contained in:
mauro 🤙 2024-07-04 23:16:13 +00:00
parent 26dd892f21
commit 818b8bed76

View file

@ -11,7 +11,7 @@ import { zodResolver } from '@hookform/resolvers/zod'
import { releases } from "@/lib/releases"; import { releases } from "@/lib/releases";
import { addDownload } from "@/lib/db"; import { addDownload } from "@/lib/db";
const BASE_URL = "https://github.com/zen-browser/desktop/releases/download/latest"; const BASE_URL = "https://github.com/zen-browser/desktop/releases/latest/download";
function getDefaultPlatformBasedOnUserAgent() { function getDefaultPlatformBasedOnUserAgent() {
let userAgent = ""; let userAgent = "";