new prod env #3

Merged
kyle merged 13 commits from development into main 2026-02-09 12:59:10 -06:00
Showing only changes of commit 6370ebe48a - Show all commits

View File

@@ -529,7 +529,8 @@ async function initializeServer() {
// Fallback to TanStack Start handler for all other routes
'/*': async (req: Request) => {
try {
return await handler.fetch(req)
const response = await handler.fetch(req)
return response as Response
} catch (error) {
log.error(`Server handler error: ${String(error)}`)
return new Response('Internal Server Error', { status: 500 })