update config
This commit is contained in:
@@ -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*',
|
||||
},
|
||||
];
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user