We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 854ff40 + e4327cb commit 1ada9dfCopy full SHA for 1ada9df
2 files changed
getcloser/frontend/.env.example
@@ -1 +1 @@
1
-NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
+NEXT_PUBLIC_API_BASE=http://localhost:8000
getcloser/frontend/next.config.ts
@@ -4,7 +4,7 @@ const nextConfig = {
4
return [
5
{
6
source: '/api/:path*',
7
- destination: `${process.env.NEXT_PUBLIC_BACKEND_URL || ''}/:path*`,
+ destination: `${process.env.NEXT_PUBLIC_API_BASE || ''}/:path*`,
8
},
9
];
10
}
0 commit comments