I get this error when I send a POST request to the api with axios.
Access to XMLHttpRequest at 'http://tiktok-tts.weilbyte.dev/api/generate' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.
I get this error when I send a POST request to the api with axios.
Access to XMLHttpRequest at 'http://tiktok-tts.weilbyte.dev/api/generate' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: Redirect is not allowed for a preflight request.