kopia lustrzana https://github.com/cloudflare/wildebeest
17 wiersze
473 B
TypeScript
17 wiersze
473 B
TypeScript
/*
|
|
* WHAT IS THIS FILE?
|
|
*
|
|
* It's the entry point for cloudflare-pages when building for production.
|
|
*
|
|
* Learn more about the cloudflare integration here:
|
|
* - https://qwik.builder.io/qwikcity/adaptors/cloudflare-pages/
|
|
*
|
|
*/
|
|
import { createQwikCity } from '@builder.io/qwik-city/middleware/cloudflare-pages'
|
|
import qwikCityPlan from '@qwik-city-plan'
|
|
import render from './entry.ssr'
|
|
|
|
const onRequest = createQwikCity({ render, qwikCityPlan })
|
|
|
|
export { onRequest }
|