Closed iain-logan closed 10 months ago
Since the api (/api/[trpc].ts) is using dynamic route parameters (https://nuxt.com/docs/guide/directory-structure/pages/), the base path for the client needs to just be /api/ to use the correct path.
/api/[trpc].ts
/api/
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Since the api (
/api/[trpc].ts
) is using dynamic route parameters (https://nuxt.com/docs/guide/directory-structure/pages/), the base path for the client needs to just be/api/
to use the correct path.