Backend: restore uuid dependency (prod 404s / CORS errors on sign-in) #8
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
backmeupplz/todorant!8
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/uuid-dep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prod backend answered every route with a bare Koa 404 (no CORS headers), so sign-in on todorant.com failed with CORS errors.
Cause: #4 removed
googleapis, the only production package that pulled inuuid. The--productionimage then failed onrequire('uuid')incontrollers/login.js, andapp.tsswallowed the bootstrap error, so the CORS middleware never got mounted.uuid@^8.3.0as a direct dependency (the lockfile already has the entry)🤖 Generated with Claude Code