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
Solution:Jump to solution
Fixed it by manually specifying each method instead of using ANY
..for context, I am using sst/ion for IaC...
3 Replies
Using a manual fetch works too
I also tried the vanilla client and it does not work
Solution
Fixed it by manually specifying each method instead of using ANY
..for context, I am using sst/ion for IaC