ChenC
tRPC2y ago
2 replies
Chen

Is it possible to change the base path?

I have my trpc server on an endpoint:
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"

Is it possible to have the trpc server factor out the
/trpc
part of the path?
Was this page helpful?