Skip to content

Commit 29aba92

Browse files
committed
add api calls to middleware
1 parent 7fef2a0 commit 29aba92

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

middleware.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,16 @@ export default authMiddleware({
9595
'/roadmaps/open-source-licenses',
9696
'/roadmaps/overview-of-documentation',
9797
'/roadmaps/legal-and-ethical-considerations',
98-
'/roadmaps/open-source-terminology'
98+
'/roadmaps/open-source-terminology',
99+
'/api/repo-stats',
100+
'/api/topThreeUsers',
101+
'/api/closedPullRequests',
102+
'/api/getStoredPullRequests',
103+
'/api/topUsers'
99104
]
100105
})
101106

102107
export const config = {
103108
matcher: ['/((?!.+\\.[\\w]+$|_next).*)', '/', '/(api|trpc)(.*)']
104109
}
110+

0 commit comments

Comments
 (0)