When adding airports that are NOT in aerolineas-airports.json:
- Don't add to
/misc/aerolineas-airports.json- that's for Aerolineas airports only - Add to
OTHER_AIRPORTSobject in/sitio-sveltekit/src/routes/+page.svelte
Example:
const OTHER_AIRPORTS = {
CNQ: "Corrientes",
GIG: "Rio de Janeiro",
MCZ: "Maceió", // International airports, charter destinations, etc.
};This prevents "Airport {IATA} not found" warnings when flights reference the airport.
The database is not directly accessible from outside. To query it, SSH into absolute-slop and use dokku:
ssh -T absolute-slop "dokku postgres:connect flybondi <<< \"YOUR SQL HERE;\""