diff --git a/src/utils/linkResolver.js b/src/utils/linkResolver.js index dcd0144..a868475 100644 --- a/src/utils/linkResolver.js +++ b/src/utils/linkResolver.js @@ -4,13 +4,13 @@ exports.linkResolver = function linkResolver(doc) { return '/'; } if (doc.type === 'products') { - return '/products/'; + return '/products'; } if (doc.type === 'product') { return '/products/' + doc.uid; } if (doc.type === 'blog_home') { - return '/blog/'; + return '/blog'; } if (doc.type === 'blog_post') { return '/blog/' + doc.uid;