Skip to content

Commit 1ada9df

Browse files
authored
Merge pull request #212 from Pseudo-Lab/fix-frontend-api-base
fix(getcloser): rename NEXT_PUBLIC_BACKEND_URL to NEXT_PUBLIC_API_BASE
2 parents 854ff40 + e4327cb commit 1ada9df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

getcloser/frontend/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
1+
NEXT_PUBLIC_API_BASE=http://localhost:8000

getcloser/frontend/next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const nextConfig = {
44
return [
55
{
66
source: '/api/:path*',
7-
destination: `${process.env.NEXT_PUBLIC_BACKEND_URL || ''}/:path*`,
7+
destination: `${process.env.NEXT_PUBLIC_API_BASE || ''}/:path*`,
88
},
99
];
1010
}

0 commit comments

Comments
 (0)