404 TRPCError: no query procedure on path
Hi, this is my entire standalone tRPC server:
and here is my tRPC client:
but when i use it with
What am i doing wrong? I already tried removing
and here is my tRPC client:
but when i use it with
trpc.foo.useQuery(), this the response:What am i doing wrong? I already tried removing
/trpc from the url that the client uses which also resulted in 404.