mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### Why? There were explicit `paddingBottom: 60` set to fixtures due to the dev indicator blocking the scroll position. Since an option to disable it was added at https://github.com/vercel/next.js/pull/76079, this PR replaced them with `devIndicators: false`. x-ref: https://github.com/vercel/next.js/pull/76077#discussion_r1957164641
16 lines
332 B
JavaScript
16 lines
332 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
module.exports = {
|
|
redirects: () => {
|
|
return [
|
|
{
|
|
source: '/redirect/a',
|
|
destination: '/redirect-dest',
|
|
permanent: false,
|
|
},
|
|
]
|
|
},
|
|
// scroll position can be finicky with the
|
|
// indicators showing so hide by default
|
|
devIndicators: false,
|
|
}
|