From f0eef73cf765d7fa2559a11e5be1813a4d0eb87d Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Sun, 14 May 2023 22:20:36 +0530 Subject: [PATCH] fix: Request on "/login" instead of "/" Just a semantic fix, helps in identifying the request in network tab and easier add proxy while working with custom app --- frappe/website/js/website.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/website/js/website.js b/frappe/website/js/website.js index 595234173f..3b27bee03c 100644 --- a/frappe/website/js/website.js +++ b/frappe/website/js/website.js @@ -84,7 +84,7 @@ $.extend(frappe, { } return $.ajax({ type: opts.type || "POST", - url: "/", + url: "/login", data: opts.args, dataType: "json", headers: {