Skip to content

Commit b53c0dd

Browse files
update examples to use dispatch.run domain
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
1 parent ac8ea82 commit b53c0dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func main() {
2222
})
2323

2424
req, _ := http.NewRequest(http.MethodGet,
25-
"https://dispatch.stealthrocket.cloud/"+endpoint, bytes.NewBuffer(payload),
25+
"https://proxy.dispatch.run/"+endpoint, bytes.NewBuffer(payload),
2626
)
2727
req.Header.Set("Proxy-Authorization", "Bearer "+apiKey)
2828
req.Header.Set("Content-Type", "application/json; charset=utf-8")

python/webhook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def send_webhook(src, dst, msg):
1010
"message": msg
1111
}
1212

13-
r = requests.post(f"https://dispatch.stealthrocket.cloud/{endpoint}",
13+
r = requests.post(f"https://proxy.dispatch.run/{endpoint}",
1414
headers = {
1515
"Proxy-Authorization": f"Bearer {api_key}"
1616
},

0 commit comments

Comments
 (0)