kapitanluffyK
tRPC2y 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
Was this page helpful?