From 0dcd9d6f3f02e54523c01202ce4ecff703b0adeb Mon Sep 17 00:00:00 2001 From: yjl9903 Date: Tue, 1 Oct 2024 15:38:32 +0800 Subject: [PATCH] chore: fix ts --- apps/frontend/web/cloudflare/entry.ts | 2 +- apps/frontend/web/node/entry.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/web/cloudflare/entry.ts b/apps/frontend/web/cloudflare/entry.ts index aac9542a..adb124b3 100644 --- a/apps/frontend/web/cloudflare/entry.ts +++ b/apps/frontend/web/cloudflare/entry.ts @@ -16,7 +16,7 @@ import { remix } from './remix'; export const app = new Hono<{ Bindings: Bindings }>(); -app.all('*', remix({ build, manifest: __STATIC_CONTENT_MANIFEST })); +app.all('*', remix({ build: build as any, manifest: __STATIC_CONTENT_MANIFEST })); app.all('/api/*', api()); diff --git a/apps/frontend/web/node/entry.ts b/apps/frontend/web/node/entry.ts index e6d4e53b..cc1cb68b 100644 --- a/apps/frontend/web/node/entry.ts +++ b/apps/frontend/web/node/entry.ts @@ -11,7 +11,7 @@ import { remix } from './remix'; export const app = new Hono<{ Bindings: Bindings }>(); -app.all('*', remix({ build })); +app.all('*', remix({ build: build as any })); app.all('/api/*', api());