diff --git a/packages/astro/src/core/pipeline.ts b/packages/astro/src/core/pipeline.ts index 70d6878f5728..dd1e66a52c03 100644 --- a/packages/astro/src/core/pipeline.ts +++ b/packages/astro/src/core/pipeline.ts @@ -56,7 +56,7 @@ export class Pipeline { } /** - * Ensure that a route is rendered without its corresponding middleware. + * Removes the current middleware function. Subsequent requests won't trigger any middleware. */ unsetMiddlewareFunction() { this.#onRequest = undefined;