What I expected
After registering and logging in, creating a task saves it and it persists after a refresh.
What actually happened
The "New Task" modal stays on "Saving..." and the task is never created. Server logs show:
GET /api/tasks 404
POST /api/tasks 404
Cause
The server mounts routes under API_VERSION ("/api/v1"), e.g. /api/v1/tasks, but BoardContext.jsx still calls the old paths: /api/tasks (get, post, put, delete), /api/tasks/:id/snippets and /api/auth/logout-all.
Login and register already use /api/v1/... and work.
Steps to reproduce
- Run the app, register a new account
- Click "+ Add card" and save a task
- The modal hangs on "Saving..."; the server logs 404
Proposed fix
Update the client API paths in BoardContext.jsx to use /api/v1. I'd like to work on this. Could you assign it to me?
What I expected
After registering and logging in, creating a task saves it and it persists after a refresh.
What actually happened
The "New Task" modal stays on "Saving..." and the task is never created. Server logs show:
GET /api/tasks 404
POST /api/tasks 404
Cause
The server mounts routes under API_VERSION ("/api/v1"), e.g. /api/v1/tasks, but BoardContext.jsx still calls the old paths: /api/tasks (get, post, put, delete), /api/tasks/:id/snippets and /api/auth/logout-all.
Login and register already use /api/v1/... and work.
Steps to reproduce
Proposed fix
Update the client API paths in BoardContext.jsx to use /api/v1. I'd like to work on this. Could you assign it to me?