Redirect from homePage to searchPage

This commit is contained in:
Bayram Muhiyev 2021-07-27 13:55:49 +05:00
parent 6b49f58eaa
commit 3cb83e3894

View File

@ -38,6 +38,15 @@ module.exports = withCommerceConfig({
},
].filter(Boolean)
},
async redirects () {
return [
{
source: '/',
destination: '/search',
permanent: true,
}
]
}
})
// Don't delete this console log, useful to see the commerce config in Vercel deployments