diff --git a/src/user/settings.js b/src/user/settings.js index a1a21dd354..81b42d5c17 100644 --- a/src/user/settings.js +++ b/src/user/settings.js @@ -123,7 +123,7 @@ module.exports = function(User) { topicSearchEnabled: data.topicSearchEnabled, delayImageLoading: data.delayImageLoading, groupTitle: data.groupTitle, - homePageRoute: data.homePageCustom || data.homePageRoute, + homePageRoute: (data.homePageCustom || data.homePageRoute).replace(/^\//, ''), scrollToMyPost: data.scrollToMyPost };