consolidate php

This commit is contained in:
2025-12-09 00:20:32 +00:00
parent a7b6c529a9
commit eba6536050
44 changed files with 3458 additions and 4911 deletions

View File

@@ -182,7 +182,7 @@ function getmetars(startDateStr, endDateStr, startZulu, endZulu) {
}
// --- Fetch Data ---
$.getJSON(`lsr.php?metars=true&start=${startDateStr}&end=${endDateStr}`, function(weatherdata) {
$.getJSON(`main.php?service=lsr&metars=true&start=${startDateStr}&end=${endDateStr}`, function(weatherdata) {
// Ensure weatherdata is an array
weatherdata = weatherdata || [];