Files
ember-market-frontend/next.config.mjs
2025-03-23 21:00:49 +00:00

30 lines
604 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "api.telegram.org",
},
{
protocol: "https",
hostname: "telegram.org",
},
{
protocol: "https",
hostname: "internal-api.inboxi.ng",
},
],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'https://internal-api.inboxi.ng/api/:path*',
},
];
},
};
export default nextConfig;