diff --git a/tools/walletextension/frontend/next.config.js b/tools/walletextension/frontend/next.config.js index 0486c5155f..50f8420725 100644 --- a/tools/walletextension/frontend/next.config.js +++ b/tools/walletextension/frontend/next.config.js @@ -4,23 +4,6 @@ const nextConfig = { images: { unoptimized: true, }, - async redirects() { - const destinationUrl = process.env.NEXT_PUBLIC_API_GATEWAY_URL || 'https://testnet.ten.xyz'; - return [ - { - source: '/v1/:path*', - destination: `${destinationUrl}/v1/:path*`, - permanent: true, - has: [ - { - type: 'header', - key: 'x-forwarded-proto', - value: '(https|http)', - }, - ], - }, - ] - }, }; module.exports = nextConfig;