hopefully fix
All checks were successful
CI/CD Pipeline / Build and Push App Docker Image (push) Successful in 1m15s
CI/CD Pipeline / Build and Push PocketBase Docker Image (push) Successful in 7s
CI/CD Pipeline / Deploy to Kubernetes (push) Successful in 41s

This commit is contained in:
yohlo
2026-02-09 00:37:01 -06:00
parent 2326693bfb
commit 8b271f93ac

View File

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