fix: minimal vite config

This commit is contained in:
David Nguyen
2025-02-07 16:33:30 +11:00
parent 8373af3f41
commit d3392dada7
17 changed files with 683 additions and 1394 deletions

View File

@ -5,7 +5,6 @@ import handle from 'hono-react-router-adapter/node';
import server from '.';
import * as build from '../build/server';
import { getLoadContext } from './load-context';
server.use(
serveStatic({
@ -13,6 +12,6 @@ server.use(
}),
);
const handler = handle(build, server, { getLoadContext });
const handler = handle(build, server);
serve({ fetch: handler.fetch, port: 3000 });