Skip to content

armgit / TREK

Public Imported from GitHub
0

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.

Merge branch 'dev' into dev

Julien G.9292acb979cd
diff --cc client/src/components/Planner/PlaceInspector.tsx
index 1fe4ace24,05b76fd3e..f6c00a57d
--- a/client/src/components/Planner/PlaceInspector.tsx
+++ b/client/src/components/Planner/PlaceInspector.tsx
@@@ -1,5 -1,12 +1,7 @@@
import React, { useState, useEffect, useRef, useCallback, useMemo } from 'react'
-
-function authUrl(url: string): string {
- const token = localStorage.getItem('auth_token')
- if (!token || !url) return url
- return `${url}${url.includes('?') ? '&' : '?'}token=${token}`
-}
+import { getAuthUrl } from '../../api/authUrl'
+ import Markdown from 'react-markdown'
+ import remarkGfm from 'remark-gfm'
import { X, Clock, MapPin, ExternalLink, Phone, Euro, Edit2, Trash2, Plus, Minus, ChevronDown, ChevronUp, FileText, Upload, File, FileImage, Star, Navigation, Users, Mountain, TrendingUp } from 'lucide-react'
import PlaceAvatar from '../shared/PlaceAvatar'
import { mapsApi } from '../../api/client'