Skip to content

Commit

Permalink
check version.json
Browse files Browse the repository at this point in the history
  • Loading branch information
hesetiema committed May 25, 2024
1 parent 2eafa21 commit ef2fa66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const router = createRouter({
})

const checkUpdate = async () => {
return fetch(`version.json?t=${Date.now()}`)
return fetch(`/version.json?t=${Date.now()}`)
.then((response) => {
if (!response.ok) throw new Error(`Failed to fetch version.json`)

Expand Down

0 comments on commit ef2fa66

Please sign in to comment.