mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 07:26:46 +00:00
修复编译错误,修复外链错误
This commit is contained in:
@@ -78,7 +78,7 @@ export default async function getPageProperties(id, block, schema, authToken, ta
|
||||
|
||||
// 开启伪静态路径
|
||||
if (BLOG.PSEUDO_STATIC) {
|
||||
if (!properties.slug.endsWith('.html')) {
|
||||
if (!properties?.slug?.endsWith('.html') && !properties?.slug?.startsWith('http')) {
|
||||
properties.slug += '.html'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user