Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
const baseUrl = process.env.NEXT_PUBLIC_DOTCMS_HOST;
return [
{
source: "/images/:slug*",
destination: `${baseUrl}/images/:slug*`,
},
];
},
reactStrictMode: true,
};
module.exports = nextConfig;