firebase-functions
firebase-functions copied to clipboard
CORS on V2 Functions
In v2, cors param on https.onCall should accept cors.CorsOptions object like on v1, the frontend app keeps sending check for CORS (OPTIONS) before every request because there isn't no maxAge set.
I can make a pull request for this, let me know what you think.