THEzombiePL
THEzombiePL
CDCloudflare Developers
Created by THEzombiePL on 8/27/2024 in #general-help
CORS Issues: PUT Requests Failing with Axios
I made two tunnels responsible for the frontend (NEXT) and backend (API - fastify). The site works normally except for the PUT request from axios used to update the data. I then receive an error: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If I give access for everyone it works normally.
2 replies