module.exports = { reactStrictMode: true, images: { domains: ['huggingface.co'], }, outputPath: '.next', exportPathMap: async function () { return { '/': { page: '/' }, }; }, async rewrites() { return [ { source: '/ict_knowledge_base/:path*', destination: '/ict_knowledge_base/:path*', }, { source: '/api/:path*', destination: '/api/:path*', }, ]; }, };