This commit is contained in:
afkarxyz
2025-11-24 05:22:04 +07:00
parent afe55db107
commit 17fe37fbb7
12 changed files with 479 additions and 28 deletions
+2 -2
View File
@@ -40,7 +40,7 @@ function App() {
const [hasUpdate, setHasUpdate] = useState(false);
const ITEMS_PER_PAGE = 50;
const CURRENT_VERSION = "5.9";
const CURRENT_VERSION = "6.0";
const download = useDownload();
const metadata = useMetadata();
@@ -78,7 +78,7 @@ function App() {
const checkForUpdates = async () => {
try {
const response = await fetch(
"https://raw.githubusercontent.com/afkarxyz/SpotiFLAC/refs/heads/main/version.json"
"https://cdn.jsdelivr.net/gh/afkarxyz/SpotiFLAC@refs/heads/main/version.json"
);
const data = await response.json();
const latestVersion = data.version;