mirror of
https://github.com/LiuYuYang01/ThriveX-Blog.git
synced 2026-06-04 11:49:33 +08:00
1. 为Cate类型新增count字段定义 2. 移除冗余的next配置注释,调整输出模式配置 3. 统一文章分页接口参数,简化调用逻辑 4. 删除废弃的分类文章数量统计接口 5. 调整搜索组件与多处页面的API调用方式 6. 修正评论接口请求方法与参数处理 7. 调整归档页面圆点定位样式 8. 为标签统计新增Tooltip提示,优化背景样式
37 lines
923 B
JavaScript
Executable File
37 lines
923 B
JavaScript
Executable File
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// 关闭严格模式
|
|
reactStrictMode: false,
|
|
output: 'standalone',
|
|
// 配置图片来源
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'res.liuyuyang.net',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: '**.liuyuyang.net',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'liuyuyang.net',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: '**',
|
|
},
|
|
{
|
|
protocol: 'http',
|
|
hostname: '**',
|
|
}
|
|
],
|
|
},
|
|
eslint: {
|
|
// 即使有 ESLint 错误,构建也会继续,不会因为 ESLint 报错而中断
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig; |