0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00

Re-enable streaming on Cloudflare Pages (#5914)

* Support streaming on Cloudflare Pages

* Create tidy-ties-repeat.md

Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
Angus 2023-01-27 00:44:09 +11:00 committed by GitHub
parent f977634ed9
commit 6e02cbc94e
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ type Env = {
};
export function createExports(manifest: SSRManifest) {
const app = new App(manifest, false);
const app = new App(manifest);
const fetch = async (request: Request, env: Env, context: any) => {
process.env = env as any;

View file

@ -5,7 +5,7 @@ import { getProcessEnvProxy } from './util.js';
process.env = getProcessEnvProxy();
export function createExports(manifest: SSRManifest) {
const app = new App(manifest, false);
const app = new App(manifest);
const onRequest = async ({
request,