Fix "Failed to load on projects" error by including credentials in all fetch calls to /api/* endpoints. The session cookie must be sent with requests for requireAuth middleware to authenticate users. Changes: - projects.js: Add credentials: 'include' to all 6 API fetch calls (loadProjects, saveProject, deleteProject, loadDeletedProjects, restoreProject, permanentDeleteProject) - sessions-landing.js: Add credentials to 3 API fetch calls (loadSessionsAndProjects, moveSessionToProject, context menu suggestions) Resolves issue where projects page showed "Failed to load projects" error on https://www.rommark.dev/claude Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
e869eaff9c
·
2026-01-19 17:43:39 +00:00
History