hopefully fix
This commit is contained in:
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user