Weilbyte / tiktok-tts

Generate TikTok Text-to-Speech voices in your browser
https://weilbyte.github.io/tiktok-tts/
MIT License
401 stars 86 forks source link

CORS error #56

Open milegyenanevem0 opened 21 hours ago

milegyenanevem0 commented 21 hours ago

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.