The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
fix(atlas): give the country-GeoJSON fetch a longer timeout (#1254)
Maurice0d50d5d7c323
diff --git a/client/src/pages/atlas/useAtlas.ts b/client/src/pages/atlas/useAtlas.tsindex ce2a9e7b4..af79169b3 100644--- a/client/src/pages/atlas/useAtlas.ts+++ b/client/src/pages/atlas/useAtlas.ts@@ -134,9 +134,12 @@ export function useAtlas() {}, [])// Load country-border GeoJSON from our API (geoBoundaries, served server-side —- // no third-party fetch from the browser).+ // no third-party fetch from the browser). Even gzipped the payload is a few MB, so+ // it gets a longer timeout than the global 8s default to survive slow links and+ // reverse-proxy / Cloudflare-Tunnel setups instead of aborting and leaving the map+ // with no countries (#1254).useEffect(() => {- apiClient.get('/addons/atlas/countries/geo')+ apiClient.get('/addons/atlas/countries/geo', { timeout: 30000 }).then(res => {const geo = res.data// Dynamically build A2→A3 mapping from GeoJSON