405 method not allowed with vercel and trpc
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
I deployed my app on vercel and now I can not use a post request because the method is not allowed.
I am getting a 405. Locally it does work.
I am using the t3 stack.
I allowed all origins and all methods in next.config and vercel.json.
I have also set the ssr true and also tested it with false. No chance.
When I use the ssr true I get the 500 code.
How can I fix it?
I am getting a 405. Locally it does work.
I am using the t3 stack.
I allowed all origins and all methods in next.config and vercel.json.
I have also set the ssr true and also tested it with false. No chance.
When I use the ssr true I get the 500 code.
How can I fix it?