Skip to content

Commit

Permalink
Updated URL paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gmsdelmundo committed Feb 9, 2024
1 parent 74dce9b commit f8a43b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/aws/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ function jq_inplace_update_json() {
if [ -n "${CORE_BASE_URL}" ] && [ -n "${OPTOUT_BASE_URL}" ] && [ "${DEPLOYMENT_ENVIRONMENT}" != "prod" ]; then
echo "Replacing core and optout URLs by ${CORE_BASE_URL} and ${OPTOUT_BASE_URL}..."
sed -i "s#https://core-integ.uidapi.com#${CORE_BASE_URL}#g" "${FINAL_CONFIG}"
sed -i "s#https://core-prod.uidapi.com#${CORE_BASE_URL}#g" "${FINAL_CONFIG}"
sed -i "s#https://optout-integ.uidapi.com#${OPTOUT_BASE_URL}#g" "${FINAL_CONFIG}"
sed -i "s#https://optout-prod.uidapi.com#${OPTOUT_BASE_URL}#g" "${FINAL_CONFIG}"
fi

# -- replace `enforce_https` value to ENFORCE_HTTPS if provided
Expand Down Expand Up @@ -124,6 +126,6 @@ java \
-Djava.security.egd=file:/dev/./urandom \
-Djava.library.path=/app/lib \
-Dvertx-config-path="${FINAL_CONFIG}" \
"${SETUP_LOKI_LINE}" \
$SETUP_LOKI_LINE \
-Dhttp_proxy=socks5://127.0.0.1:3305 \
-jar /app/"${JAR_NAME}"-"${JAR_VERSION}".jar

0 comments on commit f8a43b5

Please sign in to comment.