t
tRPC
C
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
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
base path
R
richard / ❓-help
3y ago
Is it possible to change how TRPC maps routers to URL paths?
S
Sönke / ❓-help
2y ago
Is it possible to dynamically change the url of httpBatchLink in runtime?
F
FearlessSlug / ❓-help
3y ago