CORS error when calling a firebase function : I am using Google Cloud Functions and I am getting an error related to CORS. I have made a simple function but it's not working because I keep getting the same error over and over again. I have tried almost everything but nothing is working. 

[enter image description here][1]


  [1]: https://i.stack.imgur.com/FrdPS.png