mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 13:32:07 +07:00
refactor: use external registry url and remove legacy scripts
This commit is contained in:
@@ -15,7 +15,7 @@ const formatSize = (bytes) => {
|
||||
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const res = await fetch('/releases.json')
|
||||
const res = await fetch('https://mivodev.github.io/registry/releases.json')
|
||||
if (!res.ok) throw new Error('Failed to load releases')
|
||||
releases.value = await res.json()
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user