CORS problem

CORS problem

by Ranadheer Mareboina -
Number of replies: 0

Hello community

I have hosted an app (which I made) on a different server (which I own) which uses the google speech api to convert speech to text. The problem is that it is throwing a cors error whenever I am trying to use it on my moodle site. Can anyone please tell me how to fix this issue? I added a cors header in the second server but that's not helping. Should I add a cors header in moodle too? If yes, where should I add it?

Thanks in advance

Average of ratings: -