diff --git a/frontend/next.config.js b/frontend/next.config.js index 4a576d5..28a3320 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -3,15 +3,14 @@ const nextConfig = { output: 'standalone', allowedDevOrigins: ['172.20.1.238'], async rewrites() { - const apiUrl = process.env.NEXT_PUBLIC_API_URL || 'http://localhost:3001'; return [ { source: '/api/:path*', - destination: `${apiUrl}/api/:path*`, + destination: 'http://localhost:3001/api/:path*', }, { source: '/webhooks/:path*', - destination: `${apiUrl}/webhooks/:path*`, + destination: 'http://localhost:3001/webhooks/:path*', }, ]; },