Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Commit

Permalink
feat(middleware): add api route /api/queries/clients/topAllowed to …
Browse files Browse the repository at this point in the history
…NextJS middleware

  ## what
  - add api route `/api/queries/clients/topAllowed` to NextJS middleware

  ## how

  ## why
  - this route is a protected route. So it will require authentication

  ## where
  - ./src/middleware.ts

  ## usage
  • Loading branch information
Clumsy-Coder committed Aug 20, 2023
1 parent 089ef52 commit 414c15b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export const config = {
'/api/queryTypes',
'/api/queries/topPermitted',
'/api/queries/topBlocked',
'/api/queries/clients/topAllowed',

// page routes
'/',
Expand Down

0 comments on commit 414c15b

Please sign in to comment.