mirror of
https://github.com/vercel/commerce.git
synced 2025-06-19 21:51:21 +00:00
Redirect from homePage to searchPage
This commit is contained in:
parent
6b49f58eaa
commit
3cb83e3894
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user