Skip to content

Commit

Permalink
Remove enforce_https override
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Feb 21, 2024
1 parent f26cd65 commit 0f540e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions scripts/azure-cc/conf/integ-uid2-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
"optout_metadata_path": "https://optout-integ.uidapi.com/optout/refresh",
"core_attest_url": "https://core-integ.uidapi.com/attest",
"optout_api_uri": "https://optout-integ.uidapi.com/optout/replicate",
"optout_s3_folder": "uid-optout-integ/",
"enforce_https": true
"optout_s3_folder": "uid-optout-integ/"
}
6 changes: 0 additions & 6 deletions scripts/azure-cc/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,6 @@ if [ -n "${CORE_BASE_URL}" -a -n "${OPTOUT_BASE_URL}" -a "${DEPLOYMENT_ENVIRONME
sed -i "s#https://optout-integ.uidapi.com#${OPTOUT_BASE_URL}#g" ${FINAL_CONFIG}
fi

# -- replace `enforce_https` value to ENFORCE_HTTPS if provided
if [ "${ENFORCE_HTTPS}" == false ]; then
echo "-- replacing enforce_https by ${ENFORCE_HTTPS}"
jq_inplace_update_json $FINAL_CONFIG enforce_https false
fi

cat $FINAL_CONFIG

# -- start operator
Expand Down

0 comments on commit 0f540e5

Please sign in to comment.