consolidate php
This commit is contained in:
@@ -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 || [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user