diff --git a/next.config.js b/next.config.js index 34616f754..72121b713 100644 --- a/next.config.js +++ b/next.config.js @@ -136,7 +136,7 @@ const nextConfig = { { key: "fromDate", type: "query", - value: "^([12]\\d{3}-(0[1-9]|1[0-2])-([1-9]|[12]\\d|3[01]))$", + value: "^([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))$", }, ], permanent: false, @@ -168,7 +168,7 @@ const nextConfig = { { key: "toDate", type: "query", - value: "^([12]\\d{3}-(0[1-9]|1[0-2])-([1-9]|[12]\\d|3[01]))$", + value: "^([12]\\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\\d|3[01]))$", }, ], permanent: false,