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
chore: keep the API client within its size and the native API minimum module-private
Maurice1b87c62847ef
diff --git a/client/src/api/client.ts b/client/src/api/client.tsindex bbc44e623..91aac58fa 100644--- a/client/src/api/client.ts+++ b/client/src/api/client.ts@@ -145,9 +145,6 @@ apiClient.interceptors.request.use()export function isAuthPublicPath(pathname: string): boolean {- // /native-handoff signs the user in itself (straight to SSO when the app asked- // for it). Sent to /login by the first 401 instead, the browser showed TREK's- // own sign-in page and an SSO sign-in from the app took an extra round.const publicPaths = ['/login', '/register', '/forgot-password', '/reset-password', '/native-handoff']const publicPrefixes = ['/shared/', '/public/']return publicPaths.includes(pathname) || publicPrefixes.some((p) => pathname.startsWith(p))diff --git a/client/src/native/serverAddress.ts b/client/src/native/serverAddress.tsindex ed5d8c144..a3ad65e46 100644--- a/client/src/native/serverAddress.ts+++ b/client/src/native/serverAddress.ts@@ -48,7 +48,7 @@ const FEATURES_PATH = '/api/health/features';* goes with SERVER_CHECK in TrekServerStore (iOS and Android), so a server the* app remembers from before is checked against the new minimum once.*/-export const MIN_NATIVE_API = 2;+const MIN_NATIVE_API = 2;function normalize(raw: string): string | null {let parsed: URL;