diff --git a/src/server/api/update.ts b/src/server/api/update.ts index d76455a..f99989a 100644 --- a/src/server/api/update.ts +++ b/src/server/api/update.ts @@ -1,4 +1,4 @@ -import currentPackage from '../../../package.json' +import currentPackage from '~~/package.json' export default defineEventHandler(async () => { const latestPackage = await $fetch('https://raw.githubusercontent.com/hywax/mafl/main/package.json', {