From a1fdf0db661f08419326ab940ff14c8a1b593495 Mon Sep 17 00:00:00 2001 From: Tiago PDM Date: Wed, 9 Nov 2022 18:14:06 +0000 Subject: [PATCH] refs #123 - should wrap it up --- fgt-api/server-helm.js | 4 ++-- fgt-api/server.js | 4 ++-- octopus-freeze.json | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/fgt-api/server-helm.js b/fgt-api/server-helm.js index d923bc5d..a1de96cc 100644 --- a/fgt-api/server-helm.js +++ b/fgt-api/server-helm.js @@ -130,8 +130,8 @@ const updateConfigsToMatchEnvironment = async function(){ const environment = ENVIRONMENT || "local"; console.log(`Updating environment configurations for the ${environment} environment ${bricksDomain ? `using bricksDomain: ${bricksDomain}` : ""}`) try { - fs.copyFileSync(path.join(currentPath, `./fgt-bdns/${environment}/apihub.json`), - path.join(currentPath, `./apihub-root/external-volume/config/apihub.json`)) + fs.copyFileSync(path.join(currentPath, `../fgt-bdns/${environment}/apihub.json`), + path.join(currentPath, `../apihub-root/external-volume/config/apihub.json`)) } catch (e) { return reject(e); } diff --git a/fgt-api/server.js b/fgt-api/server.js index f12232cb..9ecad042 100644 --- a/fgt-api/server.js +++ b/fgt-api/server.js @@ -147,8 +147,8 @@ const updateConfigsToMatchEnvironment = async function(){ const environment = ENVIRONMENT || "local"; console.log(`Updating environment configurations for the ${environment} environment ${bricksDomain ? `using bricksDomain: ${bricksDomain}` : ""}`) try { - fs.copyFileSync(path.join(currentPath, `./fgt-bdns/${environment}/apihub.json`), - path.join(currentPath, `./apihub-root/external-volume/config/apihub.json`)) + fs.copyFileSync(path.join(currentPath, `../fgt-bdns/${environment}/apihub.json`), + path.join(currentPath, `../apihub-root/external-volume/config/apihub.json`)) } catch (e) { return reject(e); } diff --git a/octopus-freeze.json b/octopus-freeze.json index 3a2aa7b1..1a9c9920 100644 --- a/octopus-freeze.json +++ b/octopus-freeze.json @@ -1083,3 +1083,5 @@ + +