Skip to content

Commit 095660d

Browse files
authored
Merge pull request #54 from CS3219-AY2425S1/fix/production-endpoints
set next.config.mjs to use kubernetes env var
2 parents 06d007c + e27dd28 commit 095660d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

peerprep-fe/next.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
/** @type {import('next').NextConfig} */
22
const nextConfig = {
33
output: 'standalone',
4+
env: {
5+
NEXT_PUBLIC_QUESTION_SERVICE_URL:
6+
process.env.NEXT_PUBLIC_QUESTION_SERVICE_URL,
7+
NEXT_PUBLIC_AUTH_SERVICE_URL: process.env.NEXT_PUBLIC_AUTH_SERVICE_URL,
8+
},
49
};
510

611
export default nextConfig;

0 commit comments

Comments
 (0)