tRPCttRPC
Powered by
ChenC
tRPC•2y ago•
2 replies
Chen

Is it possible to change the base path?

I have my trpc server on an endpoint:
api.examples.com/trpc
api.examples.com/trpc
- this should be the root, and trpc handles anything subsequent.

But querying this with a client, I get the error:
TRPCError: No procedure found on path "trpc/me.details"
TRPCError: No procedure found on path "trpc/me.details"

Is it possible to have the trpc server factor out the
/trpc
/trpc
part of the path?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

base path
richardRrichard / ❓-help
3y ago
Is it possible to change how TRPC maps routers to URL paths?
SönkeSSönke / ❓-help
2y ago
Is it possible to dynamically change the url of httpBatchLink in runtime?
FearlessSlugFFearlessSlug / ❓-help
3y ago