This commit is contained in:
parent
d228db5f78
commit
2b9d8f1880
|
|
@ -3,7 +3,7 @@ const nextConfig = {
|
||||||
async rewrites() {
|
async rewrites() {
|
||||||
// Use BACKEND_URL env var, or fallback to public Railway URL
|
// Use BACKEND_URL env var, or fallback to public Railway URL
|
||||||
// In Railway, services cannot use simple hostnames to communicate
|
// In Railway, services cannot use simple hostnames to communicate
|
||||||
const backendUrl = process.env.BACKEND_URL || "https://tradingagents-backend.up.railway.app";
|
const backendUrl = process.env.BACKEND_URL || "https://tradinaagents-backend.up.railway.app";
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue