NicoFish
NicoFish2mo ago

Trouble with Vercel and deployment URL

Hey I've been having a problem with nextjs deploying to vercel. In localhost the calls to the backend are done correctly, but when deployed, the calls are made to https://myvercelurl.vercel.app/deployment_url/api/trpc/.... I don't know why the hell the deployment_url is inserted there. Running in npm, packages: @trpc/client: ^10.45.0 => 10.45.1 @trpc/next: ^10.45.0 => 10.45.1 @trpc/react-query: ^10.45.0 => 10.45.1 @trpc/server: ^10.45.0 => 10.45.1 next: 14.1.0 => 14.1.0 react: ^18 => 18.2.0 typescript: ^5 => 5.3.3 If someone could help me I will really appreciate it
0 Replies
No replies yetBe the first to reply to this messageJoin