chore: correct new menloresearch repo name

This commit is contained in:
Louis 2025-03-20 19:25:51 +07:00
parent 30f9a34ede
commit 03367f4387
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2
3 changed files with 5 additions and 3 deletions

View File

@ -36,7 +36,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.PAT_SERVICE_ACCOUNT }}
run: |
curl -s https://api.github.com/repos/janhq/cortex/releases > /tmp/github_api_releases.json
curl -s https://api.github.com/repos/menloresearch/cortex/releases > /tmp/github_api_releases.json
latest_prerelease_name=$(cat /tmp/github_api_releases.json | jq -r '.[] | select(.prerelease) | .name' | head -n 1)
get_asset_count() {

View File

@ -2668,7 +2668,7 @@
},
"url": {
"type": "string",
"example": "https://api.github.com/repos/janhq/cortex.llamacpp/releases/186479804"
"example": "https://api.github.com/repos/menloresearch/cortex.llamacpp/releases/186479804"
}
}
}

View File

@ -2,7 +2,9 @@
import useSWR from 'swr'
const fetchLatestRelease = async (includeBeta: boolean) => {
const res = await fetch('https://api.github.com/repos/janhq/jan/releases')
const res = await fetch(
'https://api.github.com/menloresearch/janhq/jan/releases'
)
if (!res.ok) throw new Error('Failed to fetch releases')
const releases = await res.json()