Skip to content

Commit

Permalink
fix: package path
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Mar 17, 2024
1 parent f4a3ab9 commit 7e87e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/api/update.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import currentPackage from '../../../package.json'
import currentPackage from '~~/package.json'

export default defineEventHandler(async () => {
const latestPackage = await $fetch<typeof currentPackage>('https://raw.githubusercontent.com/hywax/mafl/main/package.json', {
Expand Down

0 comments on commit 7e87e01

Please sign in to comment.