From ca7c73c25fbeb7b93076912bfd5fcf1da5cc5a21 Mon Sep 17 00:00:00 2001 From: sokumon Date: Tue, 10 Feb 2026 19:33:35 +0530 Subject: [PATCH] fix: reroute when page not found --- frappe/public/js/frappe/request.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/public/js/frappe/request.js b/frappe/public/js/frappe/request.js index 9d46af4bbd..422255d5ce 100644 --- a/frappe/public/js/frappe/request.js +++ b/frappe/public/js/frappe/request.js @@ -145,6 +145,7 @@ frappe.request.call = function (opts) { title: __("Not found"), indicator: "red", message: __("The resource you are looking for is not available"), + re_route: true, }); opts.error_callback && opts.error_callback(); },