diff --git a/src/node/config.ts b/src/node/config.ts index 910cd1ba9b7f..d9962bdf09b5 100644 --- a/src/node/config.ts +++ b/src/node/config.ts @@ -222,7 +222,7 @@ export async function resolveSiteData( appearance: userConfig.appearance ?? true, themeConfig: userConfig.themeConfig || {}, locales: userConfig.locales || {}, - scrollOffset: userConfig.scrollOffset || 90, + scrollOffset: userConfig.scrollOffset ?? 90, cleanUrls: !!userConfig.cleanUrls } }