mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 15:09:31 +00:00
Update getPageProperties.js
Hotfix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user