Skip to content

Commit a462d2a

Browse files
committed
Edited middleware
1 parent aa0bdd1 commit a462d2a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

middleware.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ export function middleware(request: NextRequest) {
88
const protectedRoutes = [
99
"/dashboard",
1010
"/produce-status",
11-
"/register", // Add any other routes you want to protect
11+
"/register",
1212
"/transport",
1313
"/track",
1414
"/confirmdelivery",
1515
"/disputes",
1616
"/fundvault",
1717
"/logharvests",
1818
"/verifyquality",
19-
"/governance"
19+
"/governance",
20+
"/claim"
2021
];
2122

2223
// Check if the current route is protected

0 commit comments

Comments
 (0)