Skip to content

Commit 59e6c71

Browse files
committed
update path
1 parent caeb785 commit 59e6c71

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

local/bin/sender.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func send(commit Commit) error {
4343
_url := url.URL{
4444
Scheme: os.Getenv("SCHEME"),
4545
Host: os.Getenv("HOST"),
46-
Path: "/web-hooks/native/",
46+
Path: "/webhooks/native/",
4747
}
4848

4949
req, _ := http.NewRequest("POST", _url.String(), bytes.NewReader(data))

server-side/bin/sender.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func send(push git.Push) error {
6565
_url := url.URL{
6666
Scheme: os.Getenv("SCHEME"),
6767
Host: os.Getenv("HOST"),
68-
Path: "/web-hooks/native/",
68+
Path: "/webhooks/native/",
6969
}
7070

7171
req, _ := http.NewRequest("POST", _url.String(), bytes.NewReader(data))

0 commit comments

Comments
 (0)