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:
Is it possible to have the trpc server factor out the /trpc
part of the path?1 Reply
I'm using the
awsLambdaRequestHandler
from @trpc/server/adapters/aws-lambda
:
And SST:
For what it's worth, I've done this as a workaround: