Update next.config.mjs

This commit is contained in:
NotII
2025-03-21 02:00:17 +01:00
parent 924ad5b37d
commit b06e2ca0b1

View File

@@ -12,6 +12,15 @@ const nextConfig = {
}
],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'https://internal-api.inboxi.ng/api/:path*', // Replace with your external domain URL
},
];
},
};
export default nextConfig;