Feat : console log
This commit is contained in:
1 parent
50990e84b4
commit
4903a9b2cb
15 files changed
+323
-30
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user