From c3cce507811888099344c9d331b3881afb5c36fe Mon Sep 17 00:00:00 2001 From: Clumsy-Coder <19594044+Clumsy-Coder@users.noreply.github.com> Date: Wed, 28 Sep 2022 17:12:23 -0600 Subject: [PATCH] feat(middleware): add api route '/api/queryTypes' to NextJS middleware ## 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 --- src/middleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middleware.ts b/src/middleware.ts index d5bb386e..5f55a49a 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -35,6 +35,7 @@ export const config = { // api routes '/api/summary', '/api/forwardedDestinations', + '/api/queryTypes', // page routes '/',