Skip to content

Commit

Permalink
Add route protection
Browse files Browse the repository at this point in the history
  • Loading branch information
giorgio-tran committed Nov 13, 2023
1 parent 21e7525 commit c8a8431
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions my-app/src/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,16 @@ export const config = {
"/data-insights",
"/thread",
"/threads",
"/api/mongo/thread/:path*",
"/api/mongo/organization/:path*",
"/api/mongo/sorted-material/:path*",
"/api/mongo/user/:path*",
"/api/mongo/event/id/:path*",
"/api/mongo/event/island/:path*",
"/api/mongo/event/removal-org-id/:path*",
"/api/mongo/event/status/:path*",
"/api/mongo/event/storage-node/:path*",
"/api/mongo/event/transport/:path*",
"/api/mongo/event/all"
],
};

0 comments on commit c8a8431

Please sign in to comment.