Feat : console log

This commit is contained in:
decolua committed 2026-03-02 09:31:16 +07:00
1 parent 50990e84b4
commit 4903a9b2cb
15 files changed
+323 -30

No files matched your search

-1
View File
@@ -38,7 +38,6 @@ function compareVersions(a, b) {
export async function GET() {
const latestVersion = await fetchLatestVersion();
console.log("🚀 ~ GET ~ latestVersion:", latestVersion)
const currentVersion = pkg.version;
const hasUpdate = latestVersion ? compareVersions(latestVersion, currentVersion) > 0 : false;