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(ski-routing): sort the network cache key by code unit, not by default
Maurice988890866aad
diff --git a/server/src/nest/ski-routing/ski-router-runner.ts b/server/src/nest/ski-routing/ski-router-runner.tsindex b0e6fdc45..1417b2821 100644--- a/server/src/nest/ski-routing/ski-router-runner.ts+++ b/server/src/nest/ski-routing/ski-router-runner.ts@@ -56,7 +56,8 @@ export class NetCache {constructor(private readonly budget = NETWORK_BUDGET_BYTES) {}get(files: readonly string[]): Promise<SkiRouter> {- const key = [...files].sort().join('|');+ // Code unit order, so the key never depends on a locale.+ const key = [...files].sort((a, b) => (a < b ? -1 : a > b ? 1 : 0)).join('|');const known = this.routers.get(key);if (known) {this.routers.delete(key);