From e6da6ad7c58d0298e011adba65fe84e626a23bc7 Mon Sep 17 00:00:00 2001 From: Harshith Mullapudi Date: Wed, 23 Jul 2025 14:54:23 +0530 Subject: [PATCH] Fix: build is failing --- apps/webapp/app/entry.server.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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,