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/queryTypes' to NextJS middleware
Browse files Browse the repository at this point in the history
  ## what
  - add api route `/api/queryTypes` 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 54c77ad commit c3cce50
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 @@ -35,6 +35,7 @@ export const config = {
// api routes
'/api/summary',
'/api/forwardedDestinations',
'/api/queryTypes',

// page routes
'/',
Expand Down

0 comments on commit c3cce50

Please sign in to comment.