TypeScript
docs(connect): correct the relay webhook endpoint key (#23526)
Julius Marminge50e151c7a414
diff --git a/docs/internals/t3-connect.md b/docs/internals/t3-connect.mdindex c3597cd0642..6bf3ba74935 100644--- a/docs/internals/t3-connect.md+++ b/docs/internals/t3-connect.md@@ -5,9 +5,10 @@ credentials for reaching environments, and managed tunnel allocations. Afterbootstrap, clients send application traffic through the environment's tunnelhostname; the relay Worker does not proxy their HTTP or WebSocket sessions.The one exception is automation webhooks: the relay forwards-`/v1/hooks/:environmentId/:hookId/:token` to the environment's tunnel so-senders get a stable URL. It keeps bodies and tokens out of its traces and-leaves token and signature verification to the environment+`/v1/hooks/:endpointKey/:hookId/:token` to the environment's tunnel so+senders get a stable URL. `endpointKey` is the 16-hex hash suffix of the+managed tunnel's name, not the environment id. It keeps bodies and tokens out+of its traces and leaves token and signature verification to the environment([forwarder](../../infra/relay/src/hooks/HookForwarder.ts)).By default the forwarder stores nothing. An environment can opt in to having