mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 23:16:48 +00:00
微调
This commit is contained in:
@@ -108,7 +108,6 @@ export async function getStaticPaths() {
|
||||
|
||||
export async function getStaticProps({ params: { slug } }) {
|
||||
let fullSlug = slug.join('/')
|
||||
console.log('[读取Notion]', fullSlug)
|
||||
if (BLOG.PSEUDO_STATIC) {
|
||||
if (!fullSlug.endsWith('.html')) {
|
||||
fullSlug += '.html'
|
||||
|
||||
Reference in New Issue
Block a user