mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-14 23:22:22 +00:00

* fix: context * fix: context * action * update scripts * update action * fix: kubeconfig * update preview * docker file * perf: action per * update doc deploy yml * doc (#99) * doc * doc * rename * doc * fix: action on * doc (#100)
40 lines
741 B
JavaScript
40 lines
741 B
JavaScript
import { createMDX } from 'fumadocs-mdx/next';
|
|
|
|
const withMDX = createMDX({
|
|
mdxOptions: {
|
|
remarkPlugins: {
|
|
image: {
|
|
checkImageSize: false
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
output: 'standalone',
|
|
reactStrictMode: true,
|
|
compress: true,
|
|
images: {
|
|
unoptimized: true,
|
|
dangerouslyAllowSVG: true,
|
|
domains: ['oss.laf.run', 'static.ppinfra.com'],
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'oss.laf.run',
|
|
port: '',
|
|
pathname: '/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'static.ppinfra.com',
|
|
port: '',
|
|
pathname: '/**',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default withMDX(config);
|