This commit is contained in:
tangly1024.com
2024-11-21 12:56:30 +08:00
parent 3264d4fb9e
commit c68e7c90ca
2 changed files with 2 additions and 37 deletions

View File

@@ -1,3 +1,4 @@
import BLOG from '@/blog.config'
import fs from 'fs'
import { siteConfig } from './config'
/**
@@ -5,7 +6,7 @@ import { siteConfig } from './config'
* @param {*} param0
*/
export async function generateSitemapXml({ allPages, NOTION_CONFIG }) {
const link = siteConfig('LINK', null, NOTION_CONFIG)
const link = siteConfig('LINK', BLOG.LINK, NOTION_CONFIG)
const urls = [
{
loc: `${link}`,