16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
import path from 'path';
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: 'standalone',
|
|
distDir: 'build',
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/',
|
|
destination: '/zh-CN',
|
|
},
|
|
];
|
|
},
|
|
};
|
|
export default nextConfig;
|