mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 23:16:52 +00:00
Update getPageProperties.js
Hotfix
This commit is contained in:
@@ -244,7 +244,7 @@ function generateCustomizeSlug(postProperties, NOTION_CONFIG) {
|
|||||||
}
|
}
|
||||||
let fullPrefix = ''
|
let fullPrefix = ''
|
||||||
let allSlugPatterns = NOTION_CONFIG?.POST_URL_PREFIX
|
let allSlugPatterns = NOTION_CONFIG?.POST_URL_PREFIX
|
||||||
if (allSlugPatterns === undefined) {
|
if (allSlugPatterns === undefined || allSlugPatterns === null) {
|
||||||
allSlugPatterns = siteConfig(
|
allSlugPatterns = siteConfig(
|
||||||
'POST_URL_PREFIX',
|
'POST_URL_PREFIX',
|
||||||
BLOG.POST_URL_PREFIX,
|
BLOG.POST_URL_PREFIX,
|
||||||
|
|||||||
Reference in New Issue
Block a user