Add Gandalf Bunny infrastructure gateway
All checks were successful
Test / test (push) Successful in 8s

This commit is contained in:
Eric Wendland 2026-07-21 18:14:02 +02:00
commit dec3f970f3
3 changed files with 4 additions and 4 deletions

View file

@ -278,8 +278,8 @@ def purge_bunny_gateway(endpoint: str, zone: str, password: str) -> None:
):
raise DeployError("BUNNY_PURGE_ENDPOINT must be an HTTPS origin without a path")
url = (
f"https://{parsed.hostname}/v1/purge/"
f"{urllib.parse.quote(zone, safe='')}"
f"https://{parsed.hostname}/v1/static-sites/"
f"{urllib.parse.quote(zone, safe='')}/purge"
)
request = urllib.request.Request(
url,