mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update landing-hero-github-stars.tsx
This commit is contained in:
parent
dfbd35549c
commit
f5abe0803d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user