20 lines
420 B
TypeScript
20 lines
420 B
TypeScript
|
|
import type { NextConfig } from 'next';
|
||
|
|
import path from 'path';
|
||
|
|
|
||
|
|
const nextConfig: NextConfig = {
|
||
|
|
outputFileTracingRoot: path.resolve(__dirname, '../../'),
|
||
|
|
/* config options here */
|
||
|
|
allowedDevOrigins: ['*.dev.coze.site'],
|
||
|
|
images: {
|
||
|
|
remotePatterns: [
|
||
|
|
{
|
||
|
|
protocol: 'https',
|
||
|
|
hostname: 'lf-coze-web-cdn.coze.cn',
|
||
|
|
pathname: '/**',
|
||
|
|
},
|
||
|
|
],
|
||
|
|
},
|
||
|
|
};
|
||
|
|
|
||
|
|
export default nextConfig;
|