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:
parent
f977634ed9
commit
6e02cbc94e
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue