Gitlab drone integration does not work

Gitlab drone integration sends a webhook to http://$ADDRESS/api/hook however /api/hook does not exist on drone resulting in a 404:

$ curl -X POST 'http://$ENDPOINT/api/hook?owner=$OWNER&name=$NAME&access_token=$TOKEN' -D-
HTTP/1.1 404 Not Found
Cache-Control: no-cache, no-store, must-revalidate, private, max-age=0
Content-Type: text/plain; charset=utf-8
Expires: Thu, 01 Jan 1970 00:00:00 UTC
Pragma: no-cache
Vary: Origin
X-Accel-Expires: 0
X-Content-Type-Options: nosniff
Date: Mon, 14 Jun 2021 08:05:23 GMT
Content-Length: 19

404 page not found

is this something that can be fixed?