mirror of
https://github.com/harivansh-afk/asap.it.git
synced 2026-04-17 22:02:47 +00:00
first commit
This commit is contained in:
commit
1cdbffff09
200 changed files with 30007 additions and 0 deletions
9
functions/[[path]].ts
Normal file
9
functions/[[path]].ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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,
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue