mirror of
https://github.com/silenty4ng/k5web
synced 2025-01-07 20:33:28 +00:00
update fix bug and mirror
This commit is contained in:
parent
def4fd3a01
commit
40fc45b7e4
1 changed files with 5 additions and 2 deletions
|
@ -167,8 +167,11 @@ const state: {
|
||||||
})
|
})
|
||||||
|
|
||||||
onMounted(async ()=>{
|
onMounted(async ()=>{
|
||||||
const rst = await (await fetch('https://mirror.ghproxy.com/https://raw.githubusercontent.com/palewire/ham-satellite-database/main/data/amsat-active-frequencies.json')).text()
|
try{
|
||||||
state.freqDb = JSON.parse(rst)
|
const rst = await (await fetch('https://github.jobcher.com/gh/https://raw.githubusercontent.com/palewire/ham-satellite-database/main/data/amsat-active-frequencies.json')).text()
|
||||||
|
state.freqDb = JSON.parse(rst)
|
||||||
|
}
|
||||||
|
catch{}
|
||||||
|
|
||||||
state.lng = parseFloat(localStorage.getItem('myLng') || '0')
|
state.lng = parseFloat(localStorage.getItem('myLng') || '0')
|
||||||
state.lat = parseFloat(localStorage.getItem('myLat') || '0')
|
state.lat = parseFloat(localStorage.getItem('myLat') || '0')
|
||||||
|
|
Loading…
Reference in a new issue