503 error adding API routes
I'm running latest version of all packages and when I try to add API routes per the docs the app blows up with this error:
This occurs immediately after adding
src/routes/api.ts
per the docs:
Adding a basic API route doesn't make any difference. I've tried removing the routeTree.gen.ts
, restarting, etc. but nothing seems to get me past this.2 Replies
plain-purple•6mo ago
don't put that file in the routed folder
put it next to ssr.tsx
genetic-orangeOP•6mo ago
🤦♂️
thanks for saving me again @Manuel Schiller