File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const siteConfig = {
9
9
twitter : "https://www.linkedin.com/company/refactor-group/" ,
10
10
github : "https://github.com/refactor-group/" ,
11
11
} ,
12
- // Configuration items set via environment variables
12
+ // Configuration items set via a mix of build-time and run-time environment variables
13
13
env : {
14
14
backendServicePort : process . env . NEXT_PUBLIC_BACKEND_SERVICE_PORT ,
15
15
backendServiceHost : process . env . NEXT_PUBLIC_BACKEND_SERVICE_HOST ,
@@ -19,8 +19,9 @@ export const siteConfig = {
19
19
process . env . NEXT_PUBLIC_BACKEND_SERVICE_HOST +
20
20
":" +
21
21
process . env . NEXT_PUBLIC_BACKEND_SERVICE_PORT +
22
- "/" +
23
- process . env . NEXT_PUBLIC_BACKEND_SERVICE_API_PATH ,
22
+ ( process . env . NEXT_PUBLIC_BACKEND_SERVICE_API_PATH
23
+ ? "/" + process . env . NEXT_PUBLIC_BACKEND_SERVICE_API_PATH
24
+ : "" ) ,
24
25
backendApiVersion : process . env . NEXT_PUBLIC_BACKEND_API_VERSION ,
25
26
frontendServicePort : process . env . FRONTEND_SERVICE_PORT ,
26
27
frontendServiceInterface : process . env . FRONTEND_SERVICE_INTERFACE ,
You can’t perform that action at this time.
0 commit comments