0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[ci] format

This commit is contained in:
Bryce Russell 2024-05-09 08:17:30 +00:00 committed by astrobot-houston
parent 59571e8812
commit 354536042e

View file

@ -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);