Skip to content

Commit

Permalink
refs #123 - should wrap it up
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoV-PDMFC committed Nov 9, 2022
1 parent c7c0ee7 commit a1fdf0d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions fgt-api/server-helm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions fgt-api/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 2 additions & 0 deletions octopus-freeze.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,3 +1083,5 @@





0 comments on commit a1fdf0d

Please sign in to comment.