summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/runtime/server/index.ts4
-rw-r--r--packages/astro/test/streaming.test.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts
index 55cc23101..99f7bf27b 100644
--- a/packages/astro/src/runtime/server/index.ts
+++ b/packages/astro/src/runtime/server/index.ts
@@ -705,7 +705,7 @@ export async function renderPage(
componentFactory: AstroComponentFactory,
props: any,
children: any,
- streaming: boolean,
+ streaming: boolean
): Promise<Response> {
let iterable: AsyncIterable<any>;
if (!componentFactory.isAstroComponentFactory) {
@@ -756,7 +756,7 @@ export async function renderPage(
},
});
} else {
- body = '';
+ body = '';
let i = 0;
for await (const chunk of iterable) {
let html = chunk.toString();
diff --git a/packages/astro/test/streaming.test.js b/packages/astro/test/streaming.test.js
index 266853787..fc7afba05 100644
--- a/packages/astro/test/streaming.test.js
+++ b/packages/astro/test/streaming.test.js
@@ -87,7 +87,7 @@ describe('Streaming disabled', () => {
},
server: {
streaming: false,
- }
+ },
});
});