change filenames for two json files (cloudflare caching)

This commit is contained in:
Matthias Wirth
2020-02-26 17:22:58 +01:00
parent ad733f267e
commit 3889d75c04
2 changed files with 3 additions and 3 deletions

View File

@@ -564,11 +564,11 @@ function initialize() {
// Wait for history item downloads and append them to the buffer
push_history();
// this will be needed later
$.getJSON(databaseFolder + "/icao_aircraft_types.json")
$.getJSON(databaseFolder + "/icao_aircraft_types.js")
.done(function(typeLookupData) {
_aircraft_type_cache = typeLookupData;
})
$.getJSON(databaseFolder + "/airport-coords.json")
$.getJSON(databaseFolder + "/airport-coords.js")
.done(function(data) {
_airport_coords_cache = data;
const search = new URLSearchParams(window.location.search);