You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed the production Sign In and Sign Up API 404 issue in CommitPulse.
The frontend was calling:
/api/auth/login
/api/auth/signup
while the API route directory used an uppercase Auth, causing the routes to fail in the case-sensitive production environment.
This PR aligns the authentication API route paths with the lowercase /api/auth/... endpoints expected by the frontend and adds regression coverage for the affected routes.
Pillar
🎨 Pillar 1 — New Theme Design
📐 Pillar 2 — Geometric SVG Improvement
🕐 Pillar 3 — Timezone Logic Optimization
🛠️ Other (Bug fix, refactoring, docs)
Visual Preview
Not applicable — this is an API routing/authentication bug fix with no visual or SVG changes.
Checklist before requesting a review:
I have read the CONTRIBUTING.md file.
I have tested the authentication changes locally.
I have run npm run format and npm run lint locally and resolved all errors (CI will fail otherwise).
My commits follow the Conventional Commits format (e.g., feat(themes): ..., fix(calculate): ...).
I have updated README.md if I added a new theme or URL parameter.
I have started the repo.
I have made sure that i have only one commit to merge in this PR.
The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
(Recommended) I joined the CommitPulse Discord community for contributor discussions, mentorship, and faster PR support.
This pull request addresses a critical issue with the authentication API routes that were causing 404 errors in production. It aligns the route paths with the expected lowercase format, ensuring proper functionality. This change is important for maintaining a secure and reliable authentication process. Additionally, it adds regression coverage for the affected routes, which is a great practice. Please note that similar past decisions have focused on improving API error handling to prevent sensitive information leakage, which highlights the importance of robust API design. Thank you for your contribution, and I look forward to your updates!
retenta-botBot
changed the title
fix(auth): resolve production auth route 404
Fix Authentication API Routes to Resolve 404 Errors
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #8995
Fixed the production Sign In and Sign Up API 404 issue in CommitPulse.
The frontend was calling:
/api/auth/login/api/auth/signupwhile the API route directory used an uppercase
Auth, causing the routes to fail in the case-sensitive production environment.This PR aligns the authentication API route paths with the lowercase
/api/auth/...endpoints expected by the frontend and adds regression coverage for the affected routes.Pillar
Visual Preview
Not applicable — this is an API routing/authentication bug fix with no visual or SVG changes.
Checklist before requesting a review:
CONTRIBUTING.mdfile.npm run formatandnpm run lintlocally and resolved all errors (CI will fail otherwise).feat(themes): ...,fix(calculate): ...).README.mdif I added a new theme or URL parameter.