diff --git a/packages/astro/src/core/render-context.ts b/packages/astro/src/core/render-context.ts index 743bb967ec..5f35c5f113 100644 --- a/packages/astro/src/core/render-context.ts +++ b/packages/astro/src/core/render-context.ts @@ -455,7 +455,7 @@ export class RenderContext { if (clientAddressSymbol in request) { return Reflect.get(request, clientAddressSymbol) as string; } - + if (pipeline.serverLike) { if (request.body === null) { throw new AstroError(AstroErrorData.PrerenderClientAddressNotAvailable);