From a22799e1337767d858178b29758e60b119eb2ece Mon Sep 17 00:00:00 2001 From: Naz Date: Tue, 24 Jan 2023 12:18:19 +0800 Subject: [PATCH] Added last_seen to authors routing config exclude refs https://github.com/TryGhost/Toolbox/issues/503 - The "last_seen" property is not used in routing calculations. Without it the routing service was triggering an expensive process on each user login. --- ghost/core/core/server/services/url/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ghost/core/core/server/services/url/config.js b/ghost/core/core/server/services/url/config.js index 8b739036b9..5d80c3184b 100644 --- a/ghost/core/core/server/services/url/config.js +++ b/ghost/core/core/server/services/url/config.js @@ -128,7 +128,8 @@ module.exports = [ 'accessibility', 'meta_title', 'meta_description', - 'tour' + 'tour', + 'last_seen' ], filter: 'visibility:public', shouldHavePosts: {