trails/apps/journal/app/routes
Ullrich Schäfer a5d682d671 Fix CORS on Planner→Journal callback endpoint
The Save to Journal button makes a cross-origin POST from
planner.trails.cool to trails.cool. The browser's preflight OPTIONS
request was returning HTML (no CORS headers), blocking the save flow.

Add CORS headers to all responses and handle OPTIONS preflight in a
loader. Origin is restricted to PLANNER_URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 01:16:32 +00:00
..
activities.$id.tsx Implement Journal activity feed (Group 10) 2026-03-24 23:20:04 +01:00
activities._index.tsx Implement Journal activity feed (Group 10) 2026-03-24 23:20:04 +01:00
activities.new.tsx Implement Journal activity feed (Group 10) 2026-03-24 23:20:04 +01:00
api.auth.login.ts Complete Journal auth: add passkey prompt, dev magic link, fix validation 2026-03-23 22:19:17 +01:00
api.auth.register.ts Complete Journal auth: add passkey prompt, dev magic link, fix validation 2026-03-23 22:19:17 +01:00
api.routes.$id.callback.ts Fix CORS on Planner→Journal callback endpoint 2026-03-25 01:16:32 +00:00
api.routes.$id.edit-in-planner.ts Fix waypoint loading in Edit in Planner flow 2026-03-24 20:22:58 +00:00
api.routes.$id.gpx.ts Fix GPX export: use API route with direct download link 2026-03-24 20:22:58 +00:00
auth.login.tsx Complete Journal auth: add passkey prompt, dev magic link, fix validation 2026-03-23 22:19:17 +01:00
auth.logout.tsx Implement Journal auth: passkeys + magic links, no passwords 2026-03-23 17:38:46 +01:00
auth.register.tsx Fix username validation: strip invalid chars instead of pattern error 2026-03-23 21:51:34 +01:00
auth.verify.tsx Implement Journal auth: passkeys + magic links, no passwords 2026-03-23 17:38:46 +01:00
home.tsx Complete Journal auth: add passkey prompt, dev magic link, fix validation 2026-03-23 22:19:17 +01:00
routes.$id.edit.tsx Implement Journal route management (Group 8) 2026-03-23 22:25:10 +01:00
routes.$id.tsx Add basic responsive layout for tablet and mobile 2026-03-25 02:11:22 +01:00
routes._index.tsx Fix SSR hydration mismatch for dates 2026-03-24 20:22:58 +00:00
routes.new.tsx Implement Journal route management (Group 8) 2026-03-23 22:25:10 +01:00
users.$username.tsx Implement Journal auth: passkeys + magic links, no passwords 2026-03-23 17:38:46 +01:00