remove old API_URL env
This commit is contained in:
parent
aabc714bde
commit
98022064e5
2 changed files with 1 additions and 2 deletions
|
|
@ -1,2 +1 @@
|
||||||
API_URL="backend url"
|
|
||||||
NEXT_PUBLIC_API_URL="backend url"
|
NEXT_PUBLIC_API_URL="backend url"
|
||||||
|
|
@ -27,7 +27,7 @@ const nextConfig = {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
source: '/api/:path*',
|
source: '/api/:path*',
|
||||||
destination: `${process.env.API_URL}/api/:path*`,
|
destination: `${process.env.NEXT_PUBLIC_API_URL}/api/:path*`,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue