Add Gandalf Bunny infrastructure gateway
All checks were successful
Test / test (push) Successful in 8s
All checks were successful
Test / test (push) Successful in 8s
This commit is contained in:
parent
484abbeadd
commit
dec3f970f3
3 changed files with 4 additions and 4 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue