mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01: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)
|
].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
|
// Don't delete this console log, useful to see the commerce config in Vercel deployments
|
||||||
|
Loading…
x
Reference in New Issue
Block a user