mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 19:21:39 +10:00
fix: minimal vite config
This commit is contained in:
@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user