Skip to content

Commit

Permalink
Update getPageProperties.js
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
tangly1024 authored Nov 20, 2024
1 parent 8c07957 commit e3e78b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/notion/getPageProperties.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function generateCustomizeSlug(postProperties, NOTION_CONFIG) {
}
let fullPrefix = ''
let allSlugPatterns = NOTION_CONFIG?.POST_URL_PREFIX
if (allSlugPatterns === undefined) {
if (allSlugPatterns === undefined || allSlugPatterns === null) {
allSlugPatterns = siteConfig(
'POST_URL_PREFIX',
BLOG.POST_URL_PREFIX,
Expand Down

0 comments on commit e3e78b6

Please sign in to comment.