-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Refactor middleware functions for better organization and clarity
Consolidated import statements for NextRequest and NextResponse. Added import statements for middleware functions from their respective files. Removed unnecessary imports and constants. Refactored middleware function for improved readability. Added edgeLogger for logging middleware actions. Separated handling of verify requests into a dedicated function. Improved error handling and validation checks within middleware.
- Loading branch information
1 parent
04aedef
commit a0df82f
Showing
11 changed files
with
493 additions
and
456 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.