fix(webhook): update webhook endpoint path to include 'post'
This commit is contained in:
1 parent
03b67dc3c0
commit
a9ff252f45
4 files changed
+5
-5
No files matched your search
@@ -61,7 +61,7 @@ func SetupRouter() *http.ServeMux {
|
||||
// SetupRouter it is served on its own listener (webhook.listenAddr/listenPort),
|
||||
// so external applications can be given access to the webhook port without
|
||||
// reaching the admin API. Every endpoint configured under webhook.endpoints is
|
||||
// reachable as /api/webhook/<name>.
|
||||
// reachable as /api/webhook/post/{name}.
|
||||
func SetupWebhookRouter() *http.ServeMux {
|
||||
postLog.Info("Setting up webhook routers...")
|
||||
|
||||
|
||||
Reference in new issue
Block a user