mirror of
https://github.com/coleam00/bolt.new-any-llm
synced 2024-12-27 22:33:03 +00:00
10 lines
367 B
TypeScript
10 lines
367 B
TypeScript
import type { ServerBuild } from '@remix-run/cloudflare';
|
|
import { createPagesFunctionHandler } from '@remix-run/cloudflare-pages';
|
|
|
|
// @ts-ignore because the server build file is generated by `remix vite:build`
|
|
import * as serverBuild from '../build/server';
|
|
|
|
export const onRequest = createPagesFunctionHandler({
|
|
build: serverBuild as unknown as ServerBuild,
|
|
});
|