mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 15:41:05 +00:00

perf: 聊天页优化 perf: md解析样式 perf: ui调整 perf: 懒加载和动态加载优化 perf: 去除console, perf: 图片cdn feat: 图片地址 perf: 登录顺序 feat: 流优化
23 lines
446 B
JavaScript
23 lines
446 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
|
|
const path = require('path');
|
|
const isDev = process.env.NODE_ENV === 'development';
|
|
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
reactStrictMode: false,
|
|
compress: true,
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'docgpt-1301319986.cos.ap-shanghai.myqcloud.com',
|
|
port: '',
|
|
pathname: '/**'
|
|
}
|
|
]
|
|
}
|
|
};
|
|
|
|
module.exports = nextConfig;
|