icflorescu/trpc-sveltekit

My tRPC runs on a different server/port

muuvmuuv opened this issue · 1 comments

Describe the bug

It is not possible to allow specifying that tRPC runs on a different server/origin/port.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Define origin/host by myself if wanted.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

I think using trpc-sveltekit doesn't make much sense in this case.
Perhaps you should simply use the trpc vanilla client.