I tried to use google-tts in my web app but when I did a request I obtained this error in the console:
Failed to load https://translate.google.com/: Redirect from 'https://translate.google.com/' to 'https://translate.google.com/m/translate' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Hi!
I tried to use google-tts in my web app but when I did a request I obtained this error in the console:
Failed to load https://translate.google.com/: Redirect from 'https://translate.google.com/' to 'https://translate.google.com/m/translate' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.