remove old API_URL env

This commit is contained in:
jejolare 2025-07-05 18:17:12 +07:00
parent aabc714bde
commit 98022064e5
2 changed files with 1 additions and 2 deletions

View file

@ -1,2 +1 @@
API_URL="backend url"
NEXT_PUBLIC_API_URL="backend url"

View file

@ -27,7 +27,7 @@ const nextConfig = {
return [
{
source: '/api/:path*',
destination: `${process.env.API_URL}/api/:path*`,
destination: `${process.env.NEXT_PUBLIC_API_URL}/api/:path*`,
},
];
},