β¨ Improvement: URL Path Standardization: Change /signin
and /signup
to /sign-in
and /sign-up
#577
Closed
2 tasks done
π Description
Overview
Currently, the project uses
/signin
and/signup
URL paths, which deviate from the common web convention of using hyphenated paths (/sign-in
and/sign-up
). This inconsistency affects readability and doesn't follow URL best practices.Current Implementation
The paths are defined in
path.config.ts
but are also hardcoded in various places throughout the codebase, includingmiddleware.ts
:Why Change?
Required Changes
1. Update
path.config.ts
:2. Search and Replace
Files that need to be checked and updated:
middleware.ts
3. Add URL Redirects
To maintain backward compatibility, implement redirects from old paths to new ones:
/signin
β/sign-in
/signup
β/sign-up
π Reproduction steps
No response
π Expected behavior
No response
π Provide any additional context for the Bug.
No response
π Have you spent some time to check if this bug has been raised before?
π’ Have you read the Contributing Guidelines?
The text was updated successfully, but these errors were encountered: