firebase-functions icon indicating copy to clipboard operation
firebase-functions copied to clipboard

CORS on V2 Functions

Open oudmane opened this issue 1 year ago • 2 comments

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.

oudmane avatar Mar 03 '23 07:03 oudmane