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> |
||
|---|---|---|
| .. | ||
| app | ||
| Dockerfile | ||
| package.json | ||
| react-router.config.ts | ||
| tsconfig.json | ||
| vite.config.ts | ||