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.

changing back to download

Marek Maslowski554a7d7530c0
diff --git a/client/src/api/authUrl.ts b/client/src/api/authUrl.ts
index 240d130d5..cebd2f921 100644
--- a/client/src/api/authUrl.ts
+++ b/client/src/api/authUrl.ts
@@ -1,4 +1,4 @@
-export async function getAuthUrl(url: string, purpose: string): Promise<string> {
+export async function getAuthUrl(url: string, purpose: 'download'): Promise<string> {
if (!url) return url
try {
const resp = await fetch('/api/auth/resource-token', {