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:
@@ -9,7 +9,7 @@ export const LandingHeroGithubStars = () => {
|
||||
// Function to fetch version information
|
||||
const fetchVersion = async () => {
|
||||
try {
|
||||
const response = await fetch('https://update.openpanel.co/');
|
||||
const response = await fetch('https://get.openpanel.co/version');
|
||||
const data = await response.text();
|
||||
setVersion(data.trim()); // Update the version state
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user