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 = {
99 twitter : "https://www.linkedin.com/company/refactor-group/" ,
1010 github : "https://github.com/refactor-group/" ,
1111 } ,
12- // Configuration items set via environment variables
12+ // Configuration items set via a mix of build-time and run-time environment variables
1313 env : {
1414 backendServicePort : process . env . NEXT_PUBLIC_BACKEND_SERVICE_PORT ,
1515 backendServiceHost : process . env . NEXT_PUBLIC_BACKEND_SERVICE_HOST ,
@@ -19,8 +19,9 @@ export const siteConfig = {
1919 process . env . NEXT_PUBLIC_BACKEND_SERVICE_HOST +
2020 ":" +
2121 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+ : "" ) ,
2425 backendApiVersion : process . env . NEXT_PUBLIC_BACKEND_API_VERSION ,
2526 frontendServicePort : process . env . FRONTEND_SERVICE_PORT ,
2627 frontendServiceInterface : process . env . FRONTEND_SERVICE_INTERFACE ,
You can’t perform that action at this time.
0 commit comments