79219841

Date: 2024-11-24 10:28:38
Score: 1.5
Natty:
Report link
export default authMiddleware({
  publicRoutes : ['/','/account','/contact','/order','/product/:category(.*)'] 
});

Adding :category(.*) will handle dynamic segment case.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: vipin chandra