HTTP endpoint returning HTML?
My folder structure I have is
src/routes/users.ts
and it looks identical to this first example: https://tanstack.com/start/latest/docs/framework/solid/server-routes when I hit the endpoint with postman, insomnia or even my front end I just get back HTML with a status of 200 and I have no idea why. I also have updated all my packages to the newest versions but I am still getting the same issue.Server Routes | TanStack Start Solid Docs
Server routes are a powerful feature of TanStack Start that allow you to create server-side endpoints in your application and are useful for handling raw HTTP requests, form submissions, user authenti...
5 Replies
fair-rose•7d ago
do you use tanstack start?
optimistic-goldOP•7d ago
yea
fair-rose•7d ago
can you provide a complete reproducer repo?
optimistic-goldOP•6d ago
I mean just the one I am working on currently I don't have another repo that is showing the same issue.
These are my current versions:
and my vite:
fair-rose•6d ago
the above only works with 1.132.x