Spaces:
Running

anycoder-3dfb5929 / next.config.js
powerllm's picture
Upload next.config.js with huggingface_hub
4411d93 verified
Raw History Blame Contribute Delete
451 Bytes
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*',
},
];
},
};