Update landing-hero-github-stars.tsx

This commit is contained in:
Stefan Pejcic 2025-03-05 11:02:05 +01:00 committed by GitHub
parent dfbd35549c
commit f5abe0803d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@ export const LandingHeroGithubStars = () => {
// Function to fetch the latest version tag from Docker Hub
const fetchVersion = async () => {
try {
const response = await fetch('https://hub.docker.com/v2/repositories/openpanel/openpanel/tags');
const response = await fetch('https://hub.docker.com/v2/repositories/openpanel/openpanel-ui/tags');
const data = await response.json();
// Extract tags, filter out 'latest', sort, and get the latest numeric version