fix: apiConfig_local.json -> apiConfig.json

This commit is contained in:
Josepablo C
2025-09-08 21:43:11 -06:00
parent bc7c4031cc
commit 29b570f176

View File

@@ -18,8 +18,13 @@ function build_docker(){
CONTAINER_NAME=$1 CONTAINER_NAME=$1
APICONFIG_BASE64=$2 APICONFIG_BASE64=$2
if [[ -z "${APICONFIG_BASE64}" ]]; then
echo "APICONFIG not found"
return -1
fi
echo ${APICONFIG_BASE64} > config.tmp echo ${APICONFIG_BASE64} > config.tmp
base64 -d config.tmp > src/config/apiConfig_local.json base64 -d config.tmp > src/config/apiConfig.json
rm config.tmp rm config.tmp
set -x set -x