Skip to content

Commit

Permalink
fix: reporting URL config, some other minor improvements in snapshott…
Browse files Browse the repository at this point in the history
…er autofill
  • Loading branch information
xadahiya committed Sep 14, 2023
1 parent 32c22a2 commit 92f98d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snapshotter_autofill.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ export powerloom_reporting_url="${POWERLOOM_REPORTING_URL:-}"

export web3_storage_token="${WEB3_STORAGE_TOKEN:-}"

if [ "$powerloom_reporting_url" ]; then
export powerloom_reporting_url="${powerloom_reporting_url}/reportIssue"
fi
# If IPFS_URL is empty, clear IPFS API key and secret
if [ -z "$IPFS_URL" ]; then
ipfs_api_key=""
Expand Down Expand Up @@ -102,3 +105,4 @@ sed -i'.backup' "s#https://slack-reporting-url#$slack_reporting_url#" settings.j
sed -i'.backup' "s#https://powerloom-reporting-url#$powerloom_reporting_url#" settings.json

echo 'settings has been populated!'

0 comments on commit 92f98d9

Please sign in to comment.