Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Conversation

@TKanX
Copy link
Member

@TKanX TKanX commented Jan 7, 2025

Summary:

Fixed the issue where unmatched routes were not properly handled, causing incorrect 404 behavior.

Changes:

  • Updated the unmatched routes handler in index.js to use router.use('*', ...) instead of router.get('*', ...).
  • Ensured all unmatched routes return a 404 response with a consistent format.

Copilot AI review requested due to automatic review settings January 7, 2025 14:49
@TKanX TKanX self-assigned this Jan 7, 2025
@TKanX TKanX added the bug 🐛 Something isn't working label Jan 7, 2025
@TKanX TKanX merged commit cf94caf into main Jan 7, 2025
3 checks passed
@TKanX TKanX deleted the bugfix/unmatched-routes-404-handler branch January 7, 2025 14:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug 🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants