From e1ff943f9427f551ca6fd91baaeac6c1fa05b219 Mon Sep 17 00:00:00 2001 From: Felipe Torres Date: Wed, 20 Nov 2024 11:53:51 -0800 Subject: [PATCH] update --- functions/[[path]].ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 functions/[[path]].ts diff --git a/functions/[[path]].ts b/functions/[[path]].ts new file mode 100644 index 0000000..1f4f256 --- /dev/null +++ b/functions/[[path]].ts @@ -0,0 +1,11 @@ +/* eslint-disable */ +import { createPagesFunctionHandler } from '@remix-run/cloudflare-pages' + +// eslint-disable-next-line @typescript-eslint/ban-ts-comment +// @ts-ignore - the server build file is generated by `remix vite:build` +// eslint-disable-next-line import/no-unresolved +import * as build from '../build/server' + +export const onRequest = createPagesFunctionHandler({ + build, +})