Revision ada56a74901da1c327b5b2ab9474bc53a816650c authored by Taha on 10 April 2024, 10:21:00 UTC, committed by GitHub on 10 April 2024, 10:21:00 UTC
1 parent 1355725
allow_webhooks_receiver.sh
# We want to exclude webhooks_receiver from SSRF protection,
# so that the server can access it.
# --allow-address doesn't allow hostnames, so we have to resolve
# the IP address ourselves.
webhooks_ip_addr="$(getent hosts webhooks | head -1 | awk '{ print $1 }')"
export SMOKESCREEN_OPTS="$SMOKESCREEN_OPTS --allow-address=\"$webhooks_ip_addr\""
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...