diff --git a/apps/webapp/app/entry.server.tsx b/apps/webapp/app/entry.server.tsx index 63c79ef..19e50a9 100644 --- a/apps/webapp/app/entry.server.tsx +++ b/apps/webapp/app/entry.server.tsx @@ -18,8 +18,12 @@ import { initializeStartupServices } from "./utils/startup"; const ABORT_DELAY = 5_000; -// Initialize startup services once per server process -await initializeStartupServices(); +async function init() { + // Initialize startup services once per server process + await initializeStartupServices(); +} + +init(); export default function handleRequest( request: Request,