Issue 1 #2

Merged
ztimson merged 2 commits from issue-1 into master 2026-09-16 23:38:41 -04:00
Showing only changes of commit cf693e6f08 - Show all commits
+1 -1
View File
@@ -220,7 +220,7 @@ async function syncMilitaryIcao() {
try {
const page = await fetch(ADSB_URL + ':8080').then(resp => resp.text());
const db = /databaseFolder = "(db-.+?)"/.exec(page);
const res = await fetch(ADSB_URL + `${db[1]}/ranges.js`);
const res = await fetch(ADSB_URL + `:8080/${db[1]}/ranges.js`);
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const { military } = await res.json();
db.exec('DELETE FROM military_ranges');