update config

This commit is contained in:
NotII
2025-03-23 21:00:49 +00:00
parent b06e2ca0b1
commit dc51901c5c
2 changed files with 14 additions and 26 deletions

View File

@@ -9,14 +9,18 @@ const nextConfig = {
{
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*', // Replace with your external domain URL
destination: 'https://internal-api.inboxi.ng/api/:path*',
},
];
},