tRPCttRPC
Powered by
kapitanluffyK
tRPC•2y ago•
5 replies
kapitanluffy

CORS Preflight did not succeed

I cannot seem to access my api endpoint but when I manually do it in the browser, it works. I attached images of the network tab and the code
image.png
image.png
Solution
Fixed it by manually specifying each method instead of using ANY

..for context, I am using sst/ion for IaC
image.png
Jump to solution
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Did anyone succeed at file upload with the fastify adapter?
MerlinMMerlin / ❓-help
6mo ago
cors
FenixFFenix / ❓-help
3y ago
has been blocked by CORS policy: Response to preflight request doesn't pass access control check
Answer OverflowAAnswer Overflow / ❓-help
3y ago