This commit is contained in:
tangly1024.com
2023-11-01 18:41:13 +08:00
parent 52495e0200
commit 47b82d12bd
3 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ import { useGlobal } from './global'
/**
* 读取配置
* 1. 优先读取NotionConfig表
* 2. 其次读取环境变量
* 3. 再读取blog.config.js文件
* @param {*} key
* @returns
*/

View File

@@ -1,4 +1,3 @@
import BLOG from '@/blog.config'
import { siteConfig } from '@/lib/config'
/**

View File

@@ -1,4 +1,3 @@
import BLOG from '@/blog.config'
import LazyImage from '@/components/LazyImage'
import Link from 'next/link'
import { siteConfig } from '@/lib/config'