Cors issue
#188
Replies: 2 comments
-
So it was all working fine locally but to make it work when deployed I had to add
The problem now is that req.body is a empty object... again.. working fine locally but not in production :/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
@mackelito You can also set rewrite rules for http functions so that they are accessed via the same host as your production apps, which also solves any cors issues More info here: https://firebase.google.com/docs/hosting/functions |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When doing a get to my function I get the classic cors message
In my function
I have added cors like so:
But that is not working so what am I missing 😁
Beta Was this translation helpful? Give feedback.
All reactions