diff --git a/src/models/utils.js b/src/models/utils.js index e60b9235..4a613958 100644 --- a/src/models/utils.js +++ b/src/models/utils.js @@ -231,7 +231,7 @@ const wrapper = (callback) => (params) => if (e.response?.status === 404) return { notFound: true }; return { redirect: { - destination: '/500', + destination: '/404', permanent: false, }, revalidate: Number(process.env.NEXT_CACHE_REVALIDATION_OVERRIDE) || 30,